Freigeben über


GlobalWifiSleepPolicy Enum

Definition

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.

Applies to