Language

WifiSleepPolicy Enum

Definition

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 android.provider.Settings.System.WIFI_SLEEP_POLICY_DEFAULT.

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 android.provider.Settings.System.WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED.

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 android.provider.Settings.System.WIFI_SLEEP_POLICY_NEVER.

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.

Applies to