Android.Bluetooth.BluetoothAdapter.GetRemoteDevice Method
Get a Android.Bluetooth.BluetoothDevice object for the given Bluetooth hardware address.

Syntax

[Android.Runtime.Register("getRemoteDevice", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothDevice;", "")]
public BluetoothDevice GetRemoteDevice (string address)

Parameters

address
valid Bluetooth MAC address

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif address is invalid

Remarks

Get a Android.Bluetooth.BluetoothDevice object for the given Bluetooth hardware address.

Valid Bluetooth hardware addresses must be upper case, in a format such as "00:11:22:33:AA:BB". The helper BluetoothAdapter.CheckBluetoothAddress(string) is available to validate a Bluetooth address.

A Android.Bluetooth.BluetoothDevice will always be returned for a valid hardware address, even if this adapter has never seen that device.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5