GlobalWifiSleepPolicy Enum

Definition

Enumerates values returned by several types.

public enum GlobalWifiSleepPolicy
type GlobalWifiSleepPolicy = 
Inheritance
GlobalWifiSleepPolicy

Fields

Default 0
Never 2

Value for WifiSleepPolicyto never go to sleep.

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.

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