GlobalWifiSleepPolicy 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.
Enumerates values returned by several types.
public enum GlobalWifiSleepPolicy
type GlobalWifiSleepPolicy =
- Inheritance
-
GlobalWifiSleepPolicy
Fields
Name | Value | Description |
---|---|---|
Default | 0 | |
NeverWhilePlugged | 1 | Value for WifiSleepPolicyto use the default policy when the device is on battery, and never go to sleep when the device is plugged in. |
Never | 2 | Value for WifiSleepPolicyto never go to sleep. |
Remarks
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.