Język

WifiNetworkSpecifier.Builder.SetSsidPattern(PatternMatcher) Method

Definition

Set the unicode SSID match pattern to use for filtering networks from scan results.

[Android.Runtime.Register("setSsidPattern", "(Landroid/os/PatternMatcher;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetSsidPattern(Android.OS.PatternMatcher ssidPattern);
[<Android.Runtime.Register("setSsidPattern", "(Landroid/os/PatternMatcher;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetSsidPattern : Android.OS.PatternMatcher -> Android.Net.Wifi.WifiNetworkSpecifier.Builder

Parameters

ssidPattern
PatternMatcher

Instance of PatternMatcher containing the UTF-8 encoded string pattern to use for matching the network's SSID. This value cannot be null.

Returns

Instance of Builder to enable chaining of the builder method. This value cannot be null.

Attributes

Remarks

Set the unicode SSID match pattern to use for filtering networks from scan results.

Overrides any previous value set using setSsid(String) or setSsidPattern(PatternMatcher).

Android reference for android.net.wifi.WifiNetworkSpecifier.Builder.setSsidPattern.

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