RouteType (API Reference)
Package com.here.sdk.core
Enum Class RouteType
- All Implemented Interfaces:
Serializable,Comparable<RouteType>,Constable
Indicates the level of significance of a route in a range from 1 to 6. A value of 1 stands for the most major route and 6 the most minor. The route type indicates that the road's name is actually a route number and in many countries is displayed in a shield symbol (e.g., Interstate and State routes in the U.S.). See https://developer.here.com/documentation/here-map-content-schema/dev_guide/topics_schema/streetname.routetype.html
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInternational / European roadNational roadPrimary roadSecondary roadMinor roadAvenueUnknown -
Method Summary
-
Enum Constant Details
-
TYPE_UNKNOWN
Unknown
-
LEVEL_1_ROAD
International / European road
-
LEVEL_2_ROAD
National road
-
LEVEL_3_ROAD
Primary road
-
LEVEL_4_ROAD
Secondary road
-
LEVEL_5_ROAD
Minor road
-
LEVEL_6_ROAD
Avenue
-
-
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
-