Share via


Settings.Global.WifiSleepPolicyDefault Field

Definition

Value for #WIFI_SLEEP_POLICY to use the default Wi-Fi sleep policy, which is to sleep shortly after the turning off according to the #STAY_ON_WHILE_PLUGGED_IN setting.

[Android.Runtime.Register("WIFI_SLEEP_POLICY_DEFAULT")]
public const Android.Provider.GlobalWifiSleepPolicy WifiSleepPolicyDefault = 0;
[<Android.Runtime.Register("WIFI_SLEEP_POLICY_DEFAULT")>]
val mutable WifiSleepPolicyDefault : Android.Provider.GlobalWifiSleepPolicy

Field Value

Value = 0
Attributes

Remarks

Value for #WIFI_SLEEP_POLICY to use the default Wi-Fi sleep policy, which is to sleep shortly after the turning off according to the #STAY_ON_WHILE_PLUGGED_IN setting.

This member is deprecated. This is no longer used by the platform.

Java documentation for android.provider.Settings.Global.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.

Applies to