LaneDirection (API Reference)
Package com.here.sdk.navigation
Enum Class LaneDirection
- All Implemented Interfaces:
Serializable,Comparable<LaneDirection>,Constable
This enum defines the lane direction.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA lane direction that goes hard left.A lane direction that goes hard right.A lane direction that merges with the lane an other lane.A lane direction that merges with the lane one the left.A lane direction that merges with the lane one the right.A lane direction that goes quite left.A lane direction that goes quite right.A lane direction that leads to the second turn to the left.A lane direction that leads to the second turn to the right.A lane direction that goes slightly left.A lane direction that goes slightly right.A lane direction that goes straight up.A lane direction that makes a left u-turn.A lane direction that makes a right u-turn. -
Method Summary
Modifier and TypeMethodDescriptionstatic LaneDirectionReturns the enum constant of this class with the specified name.static LaneDirection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRAIGHT
A lane direction that goes straight up.
-
SLIGHT_LEFT
A lane direction that goes slightly left.
-
QUITE_LEFT
A lane direction that goes quite left.
-
HARD_LEFT
A lane direction that goes hard left.
-
U_TURN_LEFT
A lane direction that makes a left u-turn.
-
SLIGHT_RIGHT
A lane direction that goes slightly right.
-
QUITE_RIGHT
A lane direction that goes quite right.
-
HARD_RIGHT
A lane direction that goes hard right.
-
U_TURN_RIGHT
A lane direction that makes a right u-turn.
-
MERGE_RIGHT
A lane direction that merges with the lane one the right.
-
MERGE_LEFT
A lane direction that merges with the lane one the left.
-
MERGE_LANES
A lane direction that merges with the lane an other lane.
-
SECOND_RIGHT
A lane direction that leads to the second turn to the right.
-
SECOND_LEFT
A lane direction that leads to the second turn to the left.
-
-
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
-