Enum Class SpeedWarningStatus
- All Implemented Interfaces:
Serializable,Comparable<SpeedWarningStatus>,Constable
This enum represents the status of the speed warning feature.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStatus when the current speed exceeded the speed limit (plus offset) for the current road segment.Status where the current speed is again below the speed limit (plus offset) for the current road segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpeedWarningStatusReturns the enum constant of this class with the specified name.static SpeedWarningStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPEED_LIMIT_EXCEEDED
Status when the current speed exceeded the speed limit (plus offset) for the current road segment. This status is followed by
SPEED_LIMIT_RESTOREDonce the driving speed is again below the speed limit (plus offset) for the current road segment.Note: The speed limit used to check this condition does not take into account any temporary special speed limit. See
SpeedLimitListener. -
SPEED_LIMIT_RESTORED
Status where the current speed is again below the speed limit (plus offset) for the current road segment. This status is only possible after previously exceeding a speed limit.
Note: The speed limit used to check this condition does not take into account any temporary special speed limit. See `SpeedLimitListener.
-
-
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
-