ScanFilter.Builder.SetDeviceAddress(String) 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.
Set a scan filter on the remote device address.
[Android.Runtime.Register("setDeviceAddress", "(Ljava/lang/String;)Landroid/bluetooth/le/ScanFilter$Builder;", "")]
public Android.Bluetooth.LE.ScanFilter.Builder SetDeviceAddress(string deviceAddress);
[<Android.Runtime.Register("setDeviceAddress", "(Ljava/lang/String;)Landroid/bluetooth/le/ScanFilter$Builder;", "")>]
member this.SetDeviceAddress : string -> Android.Bluetooth.LE.ScanFilter.Builder
Parameters
- deviceAddress
- String
the remote device Bluetooth address for the filter
Returns
- Attributes
Remarks
Set a scan filter on the remote device address.
The address passed to this API must be in big endian byte order. It needs to be in the format of "01:02:03:AB:CD:EF". The device address can be validated using BluetoothAdapter.checkBluetoothAddress. The @AddressType is defaulted to BluetoothDevice.ADDRESS_TYPE_PUBLIC.
Android reference for android.bluetooth.le.ScanFilter.Builder.setDeviceAddress.
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.