| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.datalogic.device.power.SuspendTimeout | |
The SuspendTimeout enumeration defines different available display sleep timeouts.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SuspendTimeout | MINUTES_1 | One minute | |||||||||
| SuspendTimeout | MINUTES_10 | Ten minutes | |||||||||
| SuspendTimeout | MINUTES_15 | Fifteen minutes | |||||||||
| SuspendTimeout | MINUTES_2 | Two minutes | |||||||||
| SuspendTimeout | MINUTES_20 | Twenty minutes | |||||||||
| SuspendTimeout | MINUTES_3 | Three minutes | |||||||||
| SuspendTimeout | MINUTES_30 | Thirty minutes | |||||||||
| SuspendTimeout | MINUTES_4 | Four minutes | |||||||||
| SuspendTimeout | MINUTES_5 | Five minutes | |||||||||
| SuspendTimeout | NEVER | Endless timeout, screen will not turn off | |||||||||
| SuspendTimeout | SECONDS_15 | Fifteen seconds | |||||||||
| SuspendTimeout | SECONDS_30 | Thirty seconds | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Converts an amount of seconds to the right SuspendTimeout value, if
available.
| |||||||||||
Converts the SuspendTimeout to the corresponding number of seconds.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Endless timeout, screen will not turn off
Converts an amount of seconds to the right SuspendTimeout value, if available.
| seconds | int the amount of seconds |
|---|
SuspendTimeout the corresponding or the most close SuspendTimeout value. If no
corresponding value is found, NEVER will be chosen.
Converts the SuspendTimeout to the corresponding number of seconds.
int a number representing the amount of seconds associated.