Condividi tramite


CompanionDeviceManager.Callback.OnAssociationPending(IntentSender) Method

Definition

Invoked when the association needs to approved by the user.

[Android.Runtime.Register("onAssociationPending", "(Landroid/content/IntentSender;)V", "GetOnAssociationPending_Landroid_content_IntentSender_Handler", ApiSince=33)]
public virtual void OnAssociationPending (Android.Content.IntentSender intentSender);
[<Android.Runtime.Register("onAssociationPending", "(Landroid/content/IntentSender;)V", "GetOnAssociationPending_Landroid_content_IntentSender_Handler", ApiSince=33)>]
abstract member OnAssociationPending : Android.Content.IntentSender -> unit
override this.OnAssociationPending : Android.Content.IntentSender -> unit

Parameters

intentSender
IntentSender

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

Attributes

Remarks

Invoked when the association needs to approved by the user.

Applications should launch the Activity "encapsulated" in intentSenderIntentSender object by calling Activity#startIntentSenderForResult(IntentSender, int, Intent, int, int, int).

Java documentation for android.companion.CompanionDeviceManager.Callback.onAssociationPending(android.content.IntentSender).

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