public static enum BatteryReceiver.BATTERY_STATUS extends java.lang.Enum<BatteryReceiver.BATTERY_STATUS>
| Enum Constant and Description |
|---|
IS_CHARGE |
IS_DISCHARGE |
IS_FULL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BatteryReceiver.BATTERY_STATUS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BatteryReceiver.BATTERY_STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatteryReceiver.BATTERY_STATUS IS_CHARGE
public static final BatteryReceiver.BATTERY_STATUS IS_FULL
public static final BatteryReceiver.BATTERY_STATUS IS_DISCHARGE
public static final BatteryReceiver.BATTERY_STATUS UNKNOWN
public static BatteryReceiver.BATTERY_STATUS[] values()
for (BatteryReceiver.BATTERY_STATUS c : BatteryReceiver.BATTERY_STATUS.values()) System.out.println(c);
public static BatteryReceiver.BATTERY_STATUS 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 null