Language

BluetoothDeviceFilter.Builder.SetAddress(String) Method

Definition

Sets the MAC address that a device must match exactly.

[Android.Runtime.Register("setAddress", "(Ljava/lang/String;)Landroid/companion/BluetoothDeviceFilter$Builder;", "", ApiSince=26)]
public Android.Companion.BluetoothDeviceFilter.Builder SetAddress(string? address);
[<Android.Runtime.Register("setAddress", "(Ljava/lang/String;)Landroid/companion/BluetoothDeviceFilter$Builder;", "", ApiSince=26)>]
member this.SetAddress : string -> Android.Companion.BluetoothDeviceFilter.Builder

Parameters

address
String

if set, only devices with MAC address exactly matching the given one will pass the filter. This value may be null.

Returns

This builder, with the address assigned.

Attributes

Remarks

Android reference for android.companion.BluetoothDeviceFilter.Builder.setAddress.

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