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 确认已发出 false,出现错误

属性

注解

确认用于配对的 #PAIRING_VARIANT_PASSKEY_CONFIRMATION 密钥。

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于