RoadFeatures (API Reference)
Package com.here.sdk.routing
Enum Class RoadFeatures
- All Implemented Interfaces:
Serializable,Comparable<RoadFeatures>,Constable
Road features or states.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis part of the route is for transit with a car shuttle train.This part of the route is a controlled-access highway, i.e.This part of the route has an un-paved surface.This part of the route is for transit with a ferry.This part of the route is subject to seasonal closure.Access to this part of the route is restricted with a fee or toll.This part of the route is a tunnel.This part of the route has a u-turns. -
Method Summary
Modifier and TypeMethodDescriptionstatic RoadFeaturesReturns the enum constant of this class with the specified name.static RoadFeatures[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEASONAL_CLOSURE
This part of the route is subject to seasonal closure.
-
TOLL_ROAD
Access to this part of the route is restricted with a fee or toll.
-
CONTROLLED_ACCESS_HIGHWAY
This part of the route is a controlled-access highway, i.e. high-speed and highly controlled.
-
FERRY
This part of the route is for transit with a ferry.
-
CAR_SHUTTLE_TRAIN
This part of the route is for transit with a car shuttle train.
-
TUNNEL
This part of the route is a tunnel.
-
DIRT_ROAD
This part of the route has an un-paved surface.
-
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
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
-