Enum Class RoadFeatures

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

public enum RoadFeatures extends Enum<RoadFeatures>

Road features or states.

  • Enum Constant Details

    • SEASONAL_CLOSURE

      public static final RoadFeatures SEASONAL_CLOSURE

      This part of the route is subject to seasonal closure.

    • TOLL_ROAD

      public static final RoadFeatures TOLL_ROAD

      Access to this part of the route is restricted with a fee or toll.

    • CONTROLLED_ACCESS_HIGHWAY

      public static final RoadFeatures CONTROLLED_ACCESS_HIGHWAY

      This part of the route is a controlled-access highway, i.e. high-speed and highly controlled.

    • FERRY

      public static final RoadFeatures FERRY

      This part of the route is for transit with a ferry.

    • CAR_SHUTTLE_TRAIN

      public static final RoadFeatures CAR_SHUTTLE_TRAIN

      This part of the route is for transit with a car shuttle train.

    • TUNNEL

      public static final RoadFeatures TUNNEL

      This part of the route is a tunnel.

    • DIRT_ROAD

      public static final RoadFeatures DIRT_ROAD

      This part of the route has an un-paved surface.

    • U_TURNS

      public static final RoadFeatures U_TURNS

      This part of the route has a u-turns. Note that this feature is valid only for cars, trucks, taxis and buses.

  • Method Details

    • values

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