Package com.highmobility.autoapi.value
Enum Class Availability.UpdateRate
- All Implemented Interfaces:
ByteEnum,Serializable,Comparable<Availability.UpdateRate>,Constable
- Enclosing class:
- Availability
public static enum Availability.UpdateRate
extends Enum<Availability.UpdateRate>
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 ConstantDescriptionThe property is not available for the vehicle.The property data is update as soon as the vehicle updates it internally.The property data is updated regularly during a trip.The property data is updated by the end of each trip.The property data is updated with high frequency during a trip.The property data is updated at the start and end of each trip.The property data is updated sporadically. -
Method Summary
Modifier and TypeMethodDescriptionstatic Availability.UpdateRatefromByte(byte byteValue) bytegetByte()static Availability.UpdateRateReturns the enum constant of this class with the specified name.static Availability.UpdateRate[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRIP_HIGH
The property data is updated with high frequency during a trip. -
TRIP
The property data is updated regularly during a trip. -
TRIP_START_END
The property data is updated at the start and end of each trip. -
TRIP_END
The property data is updated by the end of each trip. -
UNKNOWN
The property data is updated sporadically. -
NOT_AVAILABLE
The property is not available for the vehicle. -
ON_CHANGE
The property data is update as soon as the vehicle updates it internally.
-
-
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
- Throws:
CommandParseException
-
getByte
public byte getByte()
-