語言

CompanionDeviceManager.TrustPairingCallback.OnTrustPairingCanceledFromRemote 方法

定義

當遠端裝置取消信任配對時會被呼叫。

[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

參數

associationInfo
AssociationInfo

包含協會的詳細資訊。

cancelIntentSender
IntentSender

以及 IntentSender 應該啟動哪些應用程式以取消信任配對對話框。

屬性

備註

當遠端裝置取消信任配對時會被呼叫。 該應用程式預計會啟動提供的 cancelIntentSender 以取消信任配對。

Android 參考資料。android.companion.CompanionDeviceManager.TrustPairingCallback.onTrustPairingCanceledFromRemote

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於