AssociationRequest.Builder.SetForceConfirmation(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the application requires the CompanionDeviceManager service to collect an explicit confirmation from the user before creating an association, even if such confirmation is not required from the service's perspective.
[Android.Runtime.Register("setForceConfirmation", "(Z)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=33)]
public Android.Companion.AssociationRequest.Builder SetForceConfirmation(bool forceConfirmation);
[<Android.Runtime.Register("setForceConfirmation", "(Z)Landroid/companion/AssociationRequest$Builder;", "", ApiSince=33)>]
member this.SetForceConfirmation : bool -> Android.Companion.AssociationRequest.Builder
Parameters
- forceConfirmation
- Boolean
Returns
- Attributes
Remarks
Indicates whether the application requires the CompanionDeviceManager service to collect an explicit confirmation from the user before creating an association, even if such confirmation is not required from the service's perspective. Requires Manifest.permission.REQUEST_COMPANION_SELF_MANAGED
Android reference for android.companion.AssociationRequest.Builder.setForceConfirmation.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.