Język

WifiNetworkSpecifier.Builder.SetSsid(String) Method

Definition

Set the unicode SSID for the network.

[Android.Runtime.Register("setSsid", "(Ljava/lang/String;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetSsid(string ssid);
[<Android.Runtime.Register("setSsid", "(Ljava/lang/String;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetSsid : string -> Android.Net.Wifi.WifiNetworkSpecifier.Builder

Parameters

ssid
String

The SSID of the network. It must be valid Unicode. 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 for the network.

Sets the SSID to use for filtering networks from scan results. Will only match networks whose SSID is identical to the UTF-8 encoding of the specified value; Overrides any previous value set using setSsid(String) or setSsidPattern(PatternMatcher).

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

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