WifiNetworkSpecifier.Builder.SetBssidPattern(MacAddress, MacAddress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the BSSID match pattern to use for filtering networks from scan results.
[Android.Runtime.Register("setBssidPattern", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetBssidPattern(Android.Net.MacAddress baseAddress, Android.Net.MacAddress mask);
[<Android.Runtime.Register("setBssidPattern", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetBssidPattern : Android.Net.MacAddress * Android.Net.MacAddress -> Android.Net.Wifi.WifiNetworkSpecifier.Builder
Parameters
- baseAddress
- MacAddress
Base address for BSSID pattern. This value cannot be null.
- mask
- MacAddress
Mask for BSSID pattern. 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 match pattern to use for filtering networks from scan results. Will match all networks with BSSID which satisfies the following: BSSID & mask == baseAddress.
Overrides any previous value set using setBssid(MacAddress) or setBssidPattern(MacAddress,MacAddress).
Android reference for android.net.wifi.WifiNetworkSpecifier.Builder.setBssidPattern.
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.