Enum Class SafetyCameraType

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

public enum SafetyCameraType extends Enum<SafetyCameraType>

Indicates the type of the safety camera.

  • Enum Constant Details

    • BUS_LANE

      public static final SafetyCameraType BUS_LANE

      Safety camera for checking drive on bus lane violation

    • DISTANCE

      public static final SafetyCameraType DISTANCE

      Safety camera for checking safe distance violation

    • RED_LIGHT

      public static final SafetyCameraType RED_LIGHT

      Safety camera for checking red light violation

    • RED_LIGHT_AND_SPEED

      public static final SafetyCameraType RED_LIGHT_AND_SPEED

      Safety camera for checking red light violation and overspeed

    • SECTION_END

      public static final SafetyCameraType SECTION_END

      Safety camera for checking section end

    • SECTION_START

      public static final SafetyCameraType SECTION_START

      Safety camera for checking section start

    • SPEED

      public static final SafetyCameraType SPEED

      Safety camera for checking overspeed

  • Method Details

    • values

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