WifiSsidPolicyType Enum
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.
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 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 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.