BluetoothAdapter.GetRemoteDevice Método

Definición

Sobrecargas

Nombre Description
GetRemoteDevice(String)

Obtenga un BluetoothDevice objeto para la dirección de hardware Bluetooth especificada.

GetRemoteDevice(Byte[])

Obtenga un BluetoothDevice objeto para la dirección de hardware Bluetooth especificada.

GetRemoteDevice(String)

Obtenga un BluetoothDevice objeto para la dirección de hardware Bluetooth especificada.

[Android.Runtime.Register("getRemoteDevice", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;", "")]
public Android.Bluetooth.BluetoothDevice? GetRemoteDevice(string? address);
[<Android.Runtime.Register("getRemoteDevice", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;", "")>]
member this.GetRemoteDevice : string -> Android.Bluetooth.BluetoothDevice

Parámetros

address
String

dirección MAC bluetooth válida

Devoluciones

Atributos

Excepciones

si la dirección no es válida

Comentarios

Java documentación para android.bluetooth.BluetoothAdapter.getRemoteDevice(java.lang.String).

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

GetRemoteDevice(Byte[])

Obtenga un BluetoothDevice objeto para la dirección de hardware Bluetooth especificada.

[Android.Runtime.Register("getRemoteDevice", "([B)Landroid/bluetooth/BluetoothDevice;", "")]
public Android.Bluetooth.BluetoothDevice? GetRemoteDevice(byte[]? address);
[<Android.Runtime.Register("getRemoteDevice", "([B)Landroid/bluetooth/BluetoothDevice;", "")>]
member this.GetRemoteDevice : byte[] -> Android.Bluetooth.BluetoothDevice

Parámetros

address
Byte[]

Dirección MAC bluetooth (6 bytes)

Devoluciones

Atributos

Excepciones

si la dirección no es válida

Comentarios

Java documentación para android.bluetooth.BluetoothAdapter.getRemoteDevice(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