Package com.mitac.api.server
Enum BatteryInfoType
- java.lang.Object
-
- java.lang.Enum<BatteryInfoType>
-
- com.mitac.api.server.BatteryInfoType
-
- All Implemented Interfaces:
android.os.Parcelable
,java.io.Serializable
,java.lang.Comparable<BatteryInfoType>
public enum BatteryInfoType extends java.lang.Enum<BatteryInfoType> implements android.os.Parcelable
Define supported battery information
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CYCLE_COUNT_DATA
Battery Charge CycleDC_UAH_DATA
Battery Design CapacityHISTORY_TMAX_DATA
Historical Max TemperatureHISTORY_TMIN_DATA
Historical Min TemperatureHISTORY_VMAX_DATA
Historical Max VoltageHISTORY_VMIN_DATA
Historical Min VoltageMANUFACTURE_DATE_DATA
Battery Manufacture DatePART_NUMBER_DATA
Battery Part NumberSERIAL_NUMBER_DATA
Battery Serial NumberSOH_DATA
State of Health(SOH)
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<BatteryInfoType>
CREATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
int
getValue()
static BatteryInfoType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BatteryInfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Enum Constant Detail
-
SOH_DATA
public static final BatteryInfoType SOH_DATA
State of Health(SOH)
-
DC_UAH_DATA
public static final BatteryInfoType DC_UAH_DATA
Battery Design Capacity
-
CYCLE_COUNT_DATA
public static final BatteryInfoType CYCLE_COUNT_DATA
Battery Charge Cycle
-
PART_NUMBER_DATA
public static final BatteryInfoType PART_NUMBER_DATA
Battery Part Number
-
SERIAL_NUMBER_DATA
public static final BatteryInfoType SERIAL_NUMBER_DATA
Battery Serial Number
-
MANUFACTURE_DATE_DATA
public static final BatteryInfoType MANUFACTURE_DATE_DATA
Battery Manufacture Date
-
HISTORY_TMAX_DATA
public static final BatteryInfoType HISTORY_TMAX_DATA
Historical Max Temperature
-
HISTORY_TMIN_DATA
public static final BatteryInfoType HISTORY_TMIN_DATA
Historical Min Temperature
-
HISTORY_VMAX_DATA
public static final BatteryInfoType HISTORY_VMAX_DATA
Historical Max Voltage
-
HISTORY_VMIN_DATA
public static final BatteryInfoType HISTORY_VMIN_DATA
Historical Min Voltage
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<BatteryInfoType> CREATOR
-
-
Method Detail
-
values
public static BatteryInfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BatteryInfoType c : BatteryInfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatteryInfoType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
getValue
public int getValue()
-
-