HeadlightsRequirement (API Reference)
Package com.here.sdk.mapdata
Enum Class HeadlightsRequirement
- All Implemented Interfaces:
Serializable,Comparable<HeadlightsRequirement>,Constable
The situations in which headlights are required to be turned on.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe headlights should always be on.The headlights should be on half hour after sunset and half hour before sunrise.The headlights should be on in conditions of low visibility.The headlights should be on when the windshield wipers are also on. -
Method Summary
Modifier and TypeMethodDescriptionstatic HeadlightsRequirementReturns the enum constant of this class with the specified name.static HeadlightsRequirement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS_ON
The headlights should always be on.
-
HALF_HOUR_AFTER_SUNSET_HALF_HOUR_BEFORE_SUNRISE
The headlights should be on half hour after sunset and half hour before sunrise.
-
WHEN_WINDSHIELD_VIPERS_ON
The headlights should be on when the windshield wipers are also on.
-
LOW_VISIBILITY
The headlights should be on in conditions of low visibility.
-
-
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
-