語言

BluetoothDevice.SetPairingConfirmation(Boolean) 方法

定義

確認配對的 #PAIRING_VARIANT_PASSKEY_CONFIRMATION 通行金鑰。

[Android.Runtime.Register("setPairingConfirmation", "(Z)Z", "")]
public bool SetPairingConfirmation(bool confirm);
[<Android.Runtime.Register("setPairingConfirmation", "(Z)Z", "")>]
member this.SetPairingConfirmation : bool -> bool

參數

confirm
Boolean

傳回

true confirmation 已發送為 false for error。

屬性

備註

確認配對的 #PAIRING_VARIANT_PASSKEY_CONFIRMATION 通行金鑰。

Java 文件 android.bluetooth.BluetoothDevice.setPairingConfirmation(boolean)

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

適用於