WifiSleepPolicy 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 WifiSleepPolicy
type WifiSleepPolicy =
- Inheritance
-
WifiSleepPolicy
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | This constant was deprecated in API level 17. Use Settings.Global.WIFI_SLEEP_POLICY_DEFAULT instead 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. |
| NeverWhilePlugged | 1 | This constant was deprecated in API level 17. Use Settings.Global.WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED instead 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. |
| Never | 2 | This constant was deprecated in API level 17. Use Settings.Global.WIFI_SLEEP_POLICY_NEVER instead 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
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.