Language

WifiSsidPolicyType Enum

Definition

Identifies whether a WifiSsidPolicy is an allowlist or a denylist of Wi-Fi SSIDs.

public enum WifiSsidPolicyType
type WifiSsidPolicyType = 
Inheritance
WifiSsidPolicyType

Fields

Name Value Description
AllowList 0

SSID policy type indicator for WifiSsidPolicy.

When returned from WifiSsidPolicy.getPolicyType(), the constant indicates that the SSID policy type is an allowlist.

Android reference for android.app.admin.WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_ALLOWLIST.

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.

DenyList 1

SSID policy type indicator for WifiSsidPolicy.

When returned from WifiSsidPolicy.getPolicyType(), the constant indicates that the SSID policy type is a denylist.

Android reference for android.app.admin.WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_DENYLIST.

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.

Remarks

With a denylist, the device cannot connect to networks on the list. With an allowlist, the device can connect only to networks on the list. The WifiSsidPolicy(Int32, ICollection<WifiSsid>) constructor and the PolicyType property use these values with the Int32 type.

Applies to