DevicePolicyManager.WifiSsidPolicy Property

Definition

Returns the current Wi-Fi SSID policy. -or- Called by device owner or profile owner of an organization-owned managed profile to specify the Wi-Fi SSID policy (WifiSsidPolicy).

public virtual Android.App.Admin.WifiSsidPolicy? WifiSsidPolicy { [Android.Runtime.Register("getWifiSsidPolicy", "()Landroid/app/admin/WifiSsidPolicy;", "GetGetWifiSsidPolicyHandler", ApiSince=33)] [Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_WIFI")] get; [Android.Runtime.Register("setWifiSsidPolicy", "(Landroid/app/admin/WifiSsidPolicy;)V", "GetSetWifiSsidPolicy_Landroid_app_admin_WifiSsidPolicy_Handler", ApiSince=33)] [Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_WIFI")] set; }
[<get: Android.Runtime.Register("getWifiSsidPolicy", "()Landroid/app/admin/WifiSsidPolicy;", "GetGetWifiSsidPolicyHandler", ApiSince=33)>]
[<get: Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_WIFI")>]
[<set: Android.Runtime.Register("setWifiSsidPolicy", "(Landroid/app/admin/WifiSsidPolicy;)V", "GetSetWifiSsidPolicy_Landroid_app_admin_WifiSsidPolicy_Handler", ApiSince=33)>]
[<set: Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_WIFI")>]
member this.WifiSsidPolicy : Android.App.Admin.WifiSsidPolicy with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the current Wi-Fi SSID policy. If the policy has not been set, it will return NULL.

Java documentation for android.app.admin.DevicePolicyManager.getWifiSsidPolicy().

Property setter documentation:

Called by device owner or profile owner of an organization-owned managed profile to specify the Wi-Fi SSID policy (WifiSsidPolicy). Wi-Fi SSID policy specifies the SSID restriction the network must satisfy in order to be eligible for a connection. Providing a null policy results in the deactivation of the SSID restriction

Java documentation for android.app.admin.DevicePolicyManager.setWifiSsidPolicy(android.app.admin.WifiSsidPolicy).

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