Język

WifiDeviceFilter.Builder.SetNamePattern(Pattern) Method

Definition

If set, only devices with name matching the given regular expression will be shown

[Android.Runtime.Register("setNamePattern", "(Ljava/util/regex/Pattern;)Landroid/companion/WifiDeviceFilter$Builder;", "", ApiSince=26)]
public Android.Companion.WifiDeviceFilter.Builder SetNamePattern(Java.Util.Regex.Pattern? value);
[<Android.Runtime.Register("setNamePattern", "(Ljava/util/regex/Pattern;)Landroid/companion/WifiDeviceFilter$Builder;", "", ApiSince=26)>]
member this.SetNamePattern : Java.Util.Regex.Pattern -> Android.Companion.WifiDeviceFilter.Builder

Parameters

value
Pattern

Returns

Attributes

Remarks

If set, only devices with name matching the given regular expression will be shown

Android reference for android.companion.WifiDeviceFilter.Builder.setNamePattern.

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