CompanionDeviceManager.TrustPairingCallback.OnTrustPairingCanceledFromRemote 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當遠端裝置取消信任配對時會被呼叫。
[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 以取消信任配對。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。