public static enum DeviceProperties.SMUFS_BATERRYSTATES extends java.lang.Enum<DeviceProperties.SMUFS_BATERRYSTATES>
Enum to provide the battery status values.
| Enum Constant and Description |
|---|
BATTERY_CHARGING |
BATTERY_CRITICALLOW |
BATTERY_DISCHARGING |
BATTERY_IDLE |
BATTERY_LOW |
BATTERY_UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
int |
_batstate |
| Modifier and Type | Method and Description |
|---|---|
static DeviceProperties.SMUFS_BATERRYSTATES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceProperties.SMUFS_BATERRYSTATES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_CHARGING
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_CRITICALLOW
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_DISCHARGING
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_IDLE
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_LOW
public static final DeviceProperties.SMUFS_BATERRYSTATES BATTERY_UNKNOWN
public static DeviceProperties.SMUFS_BATERRYSTATES valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static DeviceProperties.SMUFS_BATERRYSTATES[] values()
for (DeviceProperties.SMUFS_BATERRYSTATES c : DeviceProperties.SMUFS_BATERRYSTATES.values()) System.out.println(c);