Language

ScanFilter.DeviceName Property

Definition

Returns the filter set the device name field of Bluetooth advertisement data.

public string? DeviceName { [Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "")>]
member this.DeviceName : string

Property Value

The advertised device name to match, or null if no name criterion is set.

Attributes

Remarks

Returns the filter set the device name field of Bluetooth advertisement data.

Java documentation for android.bluetooth.le.ScanFilter.getDeviceName().

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