Enum Class Event

java.lang.Object
java.lang.Enum<Event>
com.highmobility.autoapi.value.Event
All Implemented Interfaces:
ByteEnum, Serializable, Comparable<Event>, Constable

public enum Event extends Enum<Event> implements ByteEnum
  • Enum Constant Details

    • PING

      public static final Event PING
      Sent every time when the webhook is configured or changed.
    • TRIP_STARTED

      public static final Event TRIP_STARTED
      Sent every time a vehicle starts a trip.
    • TRIP_ENDED

      public static final Event TRIP_ENDED
      Sent when a vehicle ends a trip.
    • VEHICLE_LOCATION_CHANGED

      public static final Event VEHICLE_LOCATION_CHANGED
      Sent when the vehicle location changes.
    • AUTHORIZATION_CHANGED

      public static final Event AUTHORIZATION_CHANGED
      Sent when the authorization status changes.
    • TIRE_PRESSURE_CHANGED

      public static final Event TIRE_PRESSURE_CHANGED
      Sent when the tire pressure changed to low or too high.
    • SEAT_BELT_TRIGGERED

      public static final Event SEAT_BELT_TRIGGERED
      Indicates a seat belt is buckled while the vehicle is moving.
    • MAINTENANCE_CHANGED

      public static final Event MAINTENANCE_CHANGED
      Triggered when the property "condition_based_services" in Maintenance capability changes.
    • DASHBOARD_LIGHTS_CHANGED

      public static final Event DASHBOARD_LIGHTS_CHANGED
      Triggered when the warning/malfunction indicator lights change.
    • IGNITION_CHANGED

      public static final Event IGNITION_CHANGED
      Triggered when the ignition state changes, e.g. at the beginning and the end of a trip.
    • ACCIDENT_REPORTED

      public static final Event ACCIDENT_REPORTED
      Triggered when accident assistance call is triggered, either manually by the driver or automatically by the vehicle.
    • EMERGENCY_REPORTED

      public static final Event EMERGENCY_REPORTED
      Triggered when intelligent emergency call is triggered.
    • BREAKDOWN_REPORTED

      public static final Event BREAKDOWN_REPORTED
      Triggered when the driver calls the roadside assistance service.
    • BATTERY_GUARD_WARNING

      public static final Event BATTERY_GUARD_WARNING
      Triggered when the 12V battery runs low
    • ENGINE_CHANGED

      public static final Event ENGINE_CHANGED
      Triggered when the engine state changes.
    • FLEET_CLEARANCE_CHANGED

      public static final Event FLEET_CLEARANCE_CHANGED
      Triggered when the vehicle fleet clearance has changed.
  • Method Details

    • values

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

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