Package com.highmobility.autoapi
Enum Class VehicleInformation.DataQuality
java.lang.Object
java.lang.Enum<VehicleInformation.DataQuality>
com.highmobility.autoapi.VehicleInformation.DataQuality
- All Implemented Interfaces:
ByteEnum,Serializable,Comparable<VehicleInformation.DataQuality>,Constable
- Enclosing class:
- VehicleInformation
public static enum VehicleInformation.DataQuality
extends Enum<VehicleInformation.DataQuality>
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 ConstantDescriptionData transmitted within the last 7 days, but not within the last 48hNo data availableNo data transferred within the last 7 daysData transmitted within the last 48h -
Method Summary
Modifier and TypeMethodDescriptionfromByte(byte byteValue) bytegetByte()Returns the enum constant of this class with the specified name.static VehicleInformation.DataQuality[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_DATA
No data available -
UP_TO_DATE
Data transmitted within the last 48h -
ALMOST_UP_TO_DATE
Data transmitted within the last 7 days, but not within the last 48h -
OUT_OF_DATE
No data transferred within the last 7 days
-
-
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()
-