Settings.Global.WifiSleepPolicyNeverWhilePlugged Field
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.
Value for #WIFI_SLEEP_POLICY
to use the default policy when
the device is on battery, and never go to sleep when the device is
plugged in.
[Android.Runtime.Register("WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED")]
public const Android.Provider.GlobalWifiSleepPolicy WifiSleepPolicyNeverWhilePlugged = 1;
[<Android.Runtime.Register("WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED")>]
val mutable WifiSleepPolicyNeverWhilePlugged : Android.Provider.GlobalWifiSleepPolicy
Field Value
Value = 1- Attributes
Remarks
Value for #WIFI_SLEEP_POLICY
to use the default policy when the device is on battery, and never go to sleep when the device is plugged in.
This member is deprecated. This is no longer used by the platform.
Java documentation for android.provider.Settings.Global.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.