Lenguaje

BluetoothDevice.SetPin(Byte[]) Método

Definición

Establecer la patilla durante el emparejamiento cuando el método de emparejamiento es #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

Parámetros

pin
Byte[]

Devoluciones

El pin true se ha establecido false para el error

Atributos

Comentarios

Establecer la patilla durante el emparejamiento cuando el método de emparejamiento es #PAIRING_VARIANT_PIN

Java documentación para android.bluetooth.BluetoothDevice.setPin(byte[]).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a