WarningType (API Reference)
Package com.here.sdk.navigation
Enum Class WarningType
- All Implemented Interfaces:
Serializable,Comparable<WarningType>,Constable
Identifies the warning type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionType of warning given for border crossings.Base type for all custom warnings.Type of warning given for danger zones.Type of warning given for environmental zones.Type of warning given for low speed zones.Type of warning given for railway crossings.Type of warning given for realistic views.Type of warning given for road signs.Type of warning given for safety cameras.Type of warning given for school zones.Type of warning given for toll stops.Type of warning given for merging traffic.Type of warning given for truck restriction. -
Method Summary
Modifier and TypeMethodDescriptionstatic WarningTypeReturns the enum constant of this class with the specified name.static WarningType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUSTOM
Base type for all custom warnings.
-
SAFETY_CAMERA
Type of warning given for safety cameras.
-
TRUCK_RESTRICTION
Type of warning given for truck restriction.
-
ROAD_SIGN
Type of warning given for road signs.
-
REALISTIC_VIEW
Type of warning given for realistic views.
-
ENVIRONMENTAL_ZONE
Type of warning given for environmental zones.
-
SCHOOL_ZONE
Type of warning given for school zones.
-
TOLL_STOP
Type of warning given for toll stops.
-
DANGER_ZONE
Type of warning given for danger zones.
-
BORDER_CROSSING
Type of warning given for border crossings.
-
RAILWAY_CROSSING
Type of warning given for railway crossings.
-
LOW_SPEED_ZONE
Type of warning given for low speed zones.
-
TRAFFIC_MERGE
Type of warning given for merging traffic.
-
-
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
-