Language

WifiNetworkSpecifier.Builder.SetBssid(MacAddress) Method

Definition

Set the BSSID to use for filtering networks from scan results.

[Android.Runtime.Register("setBssid", "(Landroid/net/MacAddress;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetBssid(Android.Net.MacAddress bssid);
[<Android.Runtime.Register("setBssid", "(Landroid/net/MacAddress;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetBssid : Android.Net.MacAddress -> Android.Net.Wifi.WifiNetworkSpecifier.Builder

Parameters

bssid
MacAddress

BSSID of the network. 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 BSSID to use for filtering networks from scan results. Will only match network whose BSSID is identical to the specified value.

Sets the BSSID to use for filtering networks from scan results. Will only match networks whose BSSID is identical to specified value; Overrides any previous value set using setBssid(MacAddress) or setBssidPattern(MacAddress,MacAddress).

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

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