BluetoothAdapter.GetRemoteDevice BluetoothAdapter.GetRemoteDevice Method

Definition

Overloads

GetRemoteDevice(Byte[]) GetRemoteDevice(Byte[])

Get a BluetoothDevice object for the given Bluetooth hardware address.

GetRemoteDevice(String) GetRemoteDevice(String)

Get a BluetoothDevice object for the given Bluetooth hardware address.

GetRemoteDevice(Byte[]) GetRemoteDevice(Byte[])

Get a BluetoothDevice object for the given Bluetooth hardware address.

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

Parameters

address
Byte[]

Bluetooth MAC address (6 bytes)

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

GetRemoteDevice(String) GetRemoteDevice(String)

Get a BluetoothDevice object for the given Bluetooth hardware address.

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

Parameters

address
String String

valid Bluetooth MAC address

Returns

Exceptions

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to