CompanionDeviceManager.BuildAssociationCancellationIntent 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.
Cancel the current association activity.
[Android.Runtime.Register("buildAssociationCancellationIntent", "()Landroid/content/IntentSender;", "", ApiSince=34)]
public Android.Content.IntentSender? BuildAssociationCancellationIntent ();
[<Android.Runtime.Register("buildAssociationCancellationIntent", "()Landroid/content/IntentSender;", "", ApiSince=34)>]
member this.BuildAssociationCancellationIntent : unit -> Android.Content.IntentSender
Returns
An IntentSender
that the app should use to launch in order to cancel the
current association activity
- Attributes
Remarks
Cancel the current association activity.
The app should launch the returned intentSender
by calling Activity#startIntentSenderForResult(IntentSender, int, Intent, int, int, int)
to cancel the current association activity
Calling this API requires a uses-feature PackageManager#FEATURE_COMPANION_DEVICE_SETUP
declaration in the manifest
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.