Lenguaje

BluetoothAdapter.GetRemoteLeDevice(String, Int32) Método

Definición

Obtenga un objeto BluetoothDevice para la dirección de hardware y addressType de Bluetooth especificadas.

[Android.Runtime.Register("getRemoteLeDevice", "(Ljava/lang/String;I)Landroid/bluetooth/BluetoothDevice;", "", ApiSince=33)]
public Android.Bluetooth.BluetoothDevice GetRemoteLeDevice(string address, int addressType);
[<Android.Runtime.Register("getRemoteLeDevice", "(Ljava/lang/String;I)Landroid/bluetooth/BluetoothDevice;", "", ApiSince=33)>]
member this.GetRemoteLeDevice : string * int -> Android.Bluetooth.BluetoothDevice

Parámetros

address
String

dirección MAC bluetooth válida. Este valor no puede ser nulo.

addressType
Int32

Tipo de dirección Bluetooth. El valor es uno de los siguientes: BluetoothDevice.ADDRESS_TYPE_PUBLIC; BluetoothDevice.ADDRESS_TYPE_RANDOM; BluetoothDevice.ADDRESS_TYPE_ANONYMOUS; BluetoothDevice.ADDRESS_TYPE_UNKNOWN

Devoluciones

Atributos

Comentarios

Obtenga un objeto BluetoothDevice para la dirección de hardware y addressType de Bluetooth especificadas.

Referencia de Android para android.bluetooth.BluetoothAdapter.getRemoteLeDevice.

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