BluetoothAdapter.GetRemoteLeDevice(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a BluetoothDevice object for the given Bluetooth hardware address and addressType.
[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
Parameters
- address
- String
valid Bluetooth MAC address. This value cannot be null.
- addressType
- Int32
Bluetooth address type. Value is one of the following: BluetoothDevice.ADDRESS_TYPE_PUBLIC; BluetoothDevice.ADDRESS_TYPE_RANDOM; BluetoothDevice.ADDRESS_TYPE_ANONYMOUS; BluetoothDevice.ADDRESS_TYPE_UNKNOWN
Returns
- Attributes
Remarks
Get a BluetoothDevice object for the given Bluetooth hardware address and addressType.
Android reference for android.bluetooth.BluetoothAdapter.getRemoteLeDevice.
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.