Enum Class WarningType

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

public enum WarningType extends Enum<WarningType>

Identifies the warning type.

  • Enum Constant Details

    • CUSTOM

      public static final WarningType CUSTOM

      Base type for all custom warnings.

    • SAFETY_CAMERA

      public static final WarningType SAFETY_CAMERA

      Type of warning given for safety cameras.

    • TRUCK_RESTRICTION

      public static final WarningType TRUCK_RESTRICTION

      Type of warning given for truck restriction.

    • ROAD_SIGN

      public static final WarningType ROAD_SIGN

      Type of warning given for road signs.

    • REALISTIC_VIEW

      public static final WarningType REALISTIC_VIEW

      Type of warning given for realistic views.

    • ENVIRONMENTAL_ZONE

      public static final WarningType ENVIRONMENTAL_ZONE

      Type of warning given for environmental zones.

    • SCHOOL_ZONE

      public static final WarningType SCHOOL_ZONE

      Type of warning given for school zones.

    • TOLL_STOP

      public static final WarningType TOLL_STOP

      Type of warning given for toll stops.

    • DANGER_ZONE

      public static final WarningType DANGER_ZONE

      Type of warning given for danger zones.

    • BORDER_CROSSING

      public static final WarningType BORDER_CROSSING

      Type of warning given for border crossings.

    • RAILWAY_CROSSING

      public static final WarningType RAILWAY_CROSSING

      Type of warning given for railway crossings.

    • LOW_SPEED_ZONE

      public static final WarningType LOW_SPEED_ZONE

      Type of warning given for low speed zones.

    • TRAFFIC_MERGE

      public static final WarningType TRAFFIC_MERGE

      Type of warning given for merging traffic.

  • Method Details

    • values

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