WaypointType (API Reference)
Package com.here.sdk.routing
Enum Class WaypointType
- All Implemented Interfaces:
Serializable,Comparable<WaypointType>,Constable
Defines if the waypoint is a stop over, or a hint for a desired polyline of a route.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActs as a rough position hint for route calculation on how the route should look like.Stopover mode will cause the route to exactly pass through this point, generating maneuvers and splitting the route into sections. -
Method Summary
Modifier and TypeMethodDescriptionstatic WaypointTypeReturns the enum constant of this class with the specified name.static WaypointType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STOPOVER
Stopover mode will cause the route to exactly pass through this point, generating maneuvers and splitting the route into sections. Turns of 180 degrees are generated if necessary.
-
PASS_THROUGH
Acts as a rough position hint for route calculation on how the route should look like. Does not generate 180 degree turns, nor does it appear in the list of maneuvers. Imprecise inputs such as a map touch location should be represented as a pass through.
-
-
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
-