Language

CompanionDeviceManager.TrustPairingCallback.OnTrustPairingCanceledFromRemote Method

Definition

Invoked when the trust pairing is canceled by the remote device.

[Android.Runtime.Register("onTrustPairingCanceledFromRemote", "(Landroid/companion/AssociationInfo;Landroid/content/IntentSender;)V", "GetOnTrustPairingCanceledFromRemote_Landroid_companion_AssociationInfo_Landroid_content_IntentSender_Handler", ApiSince=37)]
public abstract void OnTrustPairingCanceledFromRemote(Android.Companion.AssociationInfo associationInfo, Android.Content.IntentSender cancelIntentSender);
[<Android.Runtime.Register("onTrustPairingCanceledFromRemote", "(Landroid/companion/AssociationInfo;Landroid/content/IntentSender;)V", "GetOnTrustPairingCanceledFromRemote_Landroid_companion_AssociationInfo_Landroid_content_IntentSender_Handler", ApiSince=37)>]
abstract member OnTrustPairingCanceledFromRemote : Android.Companion.AssociationInfo * Android.Content.IntentSender -> unit

Parameters

associationInfo
AssociationInfo

contains details of the association.

cancelIntentSender
IntentSender

an IntentSender which applications should launch in order to cancel the trust pairing dialog.

Attributes

Remarks

Invoked when the trust pairing is canceled by the remote device. The application is expected to launch the provided cancelIntentSender to cancel the trust pairing.

Android reference for android.companion.CompanionDeviceManager.TrustPairingCallback.onTrustPairingCanceledFromRemote.

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.

Applies to