Enum Class HeadlightsRequirement

java.lang.Object
java.lang.Enum<HeadlightsRequirement>
com.here.sdk.mapdata.HeadlightsRequirement
All Implemented Interfaces:
Serializable, Comparable<HeadlightsRequirement>, Constable

public enum HeadlightsRequirement extends Enum<HeadlightsRequirement>

The situations in which headlights are required to be turned on.

  • Enum Constant Details

    • ALWAYS_ON

      public static final HeadlightsRequirement ALWAYS_ON

      The headlights should always be on.

    • HALF_HOUR_AFTER_SUNSET_HALF_HOUR_BEFORE_SUNRISE

      public static final HeadlightsRequirement 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

      public static final HeadlightsRequirement WHEN_WINDSHIELD_VIPERS_ON

      The headlights should be on when the windshield wipers are also on.

    • LOW_VISIBILITY

      public static final HeadlightsRequirement LOW_VISIBILITY

      The headlights should be on in conditions of low visibility.

  • Method Details

    • values

      public static HeadlightsRequirement[] 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 HeadlightsRequirement 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