Enum Class Charging.StarterBatteryState

java.lang.Object
java.lang.Enum<Charging.StarterBatteryState>
com.highmobility.autoapi.Charging.StarterBatteryState
All Implemented Interfaces:
ByteEnum, Serializable, Comparable<Charging.StarterBatteryState>, Constable
Enclosing class:
Charging

public static enum Charging.StarterBatteryState extends Enum<Charging.StarterBatteryState> implements ByteEnum
  • Enum Constant Details

    • RED

      public static final Charging.StarterBatteryState RED
      Vehicle engine will not start anymore, battery must be charged using an external system (battery charge is greater than 0%).
    • YELLOW

      public static final Charging.StarterBatteryState YELLOW
      Battery partly discharged, battery should be charged by driving the vehicle to avoid loosing functionality (battery charge is greater than 40%).
    • GREEN

      public static final Charging.StarterBatteryState GREEN
      Ok, (battery charge is greater than 70%).
    • ORANGE

      public static final Charging.StarterBatteryState ORANGE
      Battery is now in saving mode, remote commands are not possible anymore, battery should be charged by driving the vehicle.
    • GREEN_YELLOW

      public static final Charging.StarterBatteryState GREEN_YELLOW
      Battery partly discharged but ok.
  • Method Details

    • values

      public static Charging.StarterBatteryState[] 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

      public static Charging.StarterBatteryState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromByte

      public static Charging.StarterBatteryState fromByte(byte byteValue) throws CommandParseException
      Throws:
      CommandParseException
    • getByte

      public byte getByte()
      Specified by:
      getByte in interface ByteEnum