語言

BluetoothDevice.SetPin(Byte[]) 方法

定義

當配對方法為 #PAIRING_VARIANT_PIN

[Android.Runtime.Register("setPin", "([B)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool SetPin(byte[]? pin);
[<Android.Runtime.Register("setPin", "([B)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.SetPin : byte[] -> bool

參數

pin
Byte[]

傳回

true PIN 因錯誤而設為 false

屬性

備註

當配對方法為 #PAIRING_VARIANT_PIN

Java 文件 android.bluetooth.BluetoothDevice.setPin(byte[])

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

適用於