public enum BatteryStatusExtendedType extends Enum<BatteryStatusExtendedType>
| Enum Constant and Description |
|---|
chargingStatus |
current |
cycleCount |
designCapacity |
fullChargeCapacity |
health |
manufactureDate |
modelNumber |
percentage |
remainingCapacity |
serialNumber |
temperature |
voltage |
| Modifier and Type | Method and Description |
|---|---|
static BatteryStatusExtendedType |
fromValue(int value) |
int |
getCode() |
String |
toString() |
static BatteryStatusExtendedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatteryStatusExtendedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatteryStatusExtendedType chargingStatus
public static final BatteryStatusExtendedType voltage
public static final BatteryStatusExtendedType current
public static final BatteryStatusExtendedType percentage
public static final BatteryStatusExtendedType health
public static final BatteryStatusExtendedType temperature
public static final BatteryStatusExtendedType modelNumber
public static final BatteryStatusExtendedType manufactureDate
public static final BatteryStatusExtendedType fullChargeCapacity
public static final BatteryStatusExtendedType cycleCount
public static final BatteryStatusExtendedType serialNumber
public static final BatteryStatusExtendedType remainingCapacity
public static final BatteryStatusExtendedType designCapacity
public static BatteryStatusExtendedType[] values()
for (BatteryStatusExtendedType c : BatteryStatusExtendedType.values()) System.out.println(c);
public static BatteryStatusExtendedType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public String toString()
toString in class Enum<BatteryStatusExtendedType>public static BatteryStatusExtendedType fromValue(int value)