Language

CompanionDeviceManager.TrustPairingCallback.OnTrustPairingPending Method

Definition

Invoked when a trust pairing confirmation is required.

[Android.Runtime.Register("onTrustPairingPending", "(Landroid/content/IntentSender;)V", "GetOnTrustPairingPending_Landroid_content_IntentSender_Handler", ApiSince=37)]
public abstract void OnTrustPairingPending(Android.Content.IntentSender intentSender);
[<Android.Runtime.Register("onTrustPairingPending", "(Landroid/content/IntentSender;)V", "GetOnTrustPairingPending_Landroid_content_IntentSender_Handler", ApiSince=37)>]
abstract member OnTrustPairingPending : Android.Content.IntentSender -> unit

Parameters

intentSender
IntentSender

an IntentSender which applications should use to launch the UI for the user to confirm the trust pairing.

Attributes

Remarks

Invoked when a trust pairing confirmation is required. This can happen when the pairing was initiated by the local device. The application is expected to launch the provided intentSender to display the user confirmation dialog.

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

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