| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.datalogic.device.wifi.WifiManager.SleepPolicy | |
The policy for deciding when Wi-Fi should go to sleep (which will in turn switch to using the mobile data as an Internet connection).
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WifiManager.SleepPolicy | DEFAULT | Sleep shortly after the turning off. | |||||||||
| WifiManager.SleepPolicy | NEVER | Never go to sleep. | |||||||||
| WifiManager.SleepPolicy | NEVER_WHILE_PLUGGED | Sleep shortly after the turning off the device is on battery, and never go to sleep when the device is plugged in. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Sleep shortly after the turning off.
Sleep shortly after the turning off the device is on battery, and never go to sleep when the device is plugged in.