Package com.highmobility.autoapi
Enum Class Diagnostics.LowVoltageBatteryChargeLevel
java.lang.Object
java.lang.Enum<Diagnostics.LowVoltageBatteryChargeLevel>
com.highmobility.autoapi.Diagnostics.LowVoltageBatteryChargeLevel
- All Implemented Interfaces:
ByteEnum,Serializable,Comparable<Diagnostics.LowVoltageBatteryChargeLevel>,Constable
- Enclosing class:
- Diagnostics
public static enum Diagnostics.LowVoltageBatteryChargeLevel
extends Enum<Diagnostics.LowVoltageBatteryChargeLevel>
implements ByteEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHigh voltage users are cut off from low voltage managementInfotainment cut off, from that point on no data will be sent to vehicle backendWake up blocked, vehicle cannot be woken up externallyCharge level is ok and no other systems are deactivated -
Method Summary
-
Enum Constant Details
-
OK
Charge level is ok and no other systems are deactivated -
DEACTIVATION_LEVEL_1
High voltage users are cut off from low voltage management -
DEACTIVATION_LEVEL_2
Infotainment cut off, from that point on no data will be sent to vehicle backend -
DEACTIVATION_LEVEL_3
Wake up blocked, vehicle cannot be woken up externally
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromByte
public static Diagnostics.LowVoltageBatteryChargeLevel fromByte(byte byteValue) throws CommandParseException - Throws:
CommandParseException
-
getByte
public byte getByte()
-