WifiManager.SetPerSsidRoamingMode(WifiSsid, Int32) 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.
This API allows a privileged application to set roaming mode per SSID.
[Android.Runtime.Register("setPerSsidRoamingMode", "(Landroid/net/wifi/WifiSsid;I)V", "GetSetPerSsidRoamingMode_Landroid_net_wifi_WifiSsid_IHandler", ApiSince=35)]
public virtual void SetPerSsidRoamingMode (Android.Net.Wifi.WifiSsid ssid, int roamingMode);
[<Android.Runtime.Register("setPerSsidRoamingMode", "(Landroid/net/wifi/WifiSsid;I)V", "GetSetPerSsidRoamingMode_Landroid_net_wifi_WifiSsid_IHandler", ApiSince=35)>]
abstract member SetPerSsidRoamingMode : Android.Net.Wifi.WifiSsid * int -> unit
override this.SetPerSsidRoamingMode : Android.Net.Wifi.WifiSsid * int -> unit
Parameters
- ssid
- WifiSsid
SSID to be mapped to apply roaming policy
- roamingMode
- Int32
refer RoamingMode
for supported modes.
- Attributes
Remarks
This API allows a privileged application to set roaming mode per SSID.
Available for DO/COPE apps. Other apps require android.Manifest.permission#NETWORK_SETTINGS
or android.Manifest.permission#MANAGE_WIFI_NETWORK_SELECTION
permission.
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.