Enum Class RouteType

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

public enum RouteType extends Enum<RouteType>

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

  • Enum Constant Details

    • TYPE_UNKNOWN

      public static final RouteType TYPE_UNKNOWN

      Unknown

    • LEVEL_1_ROAD

      public static final RouteType LEVEL_1_ROAD

      International / European road

    • LEVEL_2_ROAD

      public static final RouteType LEVEL_2_ROAD

      National road

    • LEVEL_3_ROAD

      public static final RouteType LEVEL_3_ROAD

      Primary road

    • LEVEL_4_ROAD

      public static final RouteType LEVEL_4_ROAD

      Secondary road

    • LEVEL_5_ROAD

      public static final RouteType LEVEL_5_ROAD

      Minor road

    • LEVEL_6_ROAD

      public static final RouteType LEVEL_6_ROAD

      Avenue

  • Method Details

    • values

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