Enum Class Crash.Status

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

public static enum Crash.Status extends Enum<Crash.Status> implements ByteEnum
  • Enum Constant Details

    • NORMAL

      public static final Crash.Status NORMAL
    • RESTRAINTS_ENGAGED

      public static final Crash.Status RESTRAINTS_ENGAGED
    • AIRBAG_TRIGGERED

      public static final Crash.Status AIRBAG_TRIGGERED
  • Method Details

    • values

      public static Crash.Status[] 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 Crash.Status 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 Crash.Status fromByte(byte byteValue) throws CommandParseException
      Throws:
      CommandParseException
    • getByte

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