Enum Class LaneDirection

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

public enum LaneDirection extends Enum<LaneDirection>

This enum defines the lane direction.

  • Enum Constant Details

    • STRAIGHT

      public static final LaneDirection STRAIGHT

      A lane direction that goes straight up.

    • SLIGHT_LEFT

      public static final LaneDirection SLIGHT_LEFT

      A lane direction that goes slightly left.

    • QUITE_LEFT

      public static final LaneDirection QUITE_LEFT

      A lane direction that goes quite left.

    • HARD_LEFT

      public static final LaneDirection HARD_LEFT

      A lane direction that goes hard left.

    • U_TURN_LEFT

      public static final LaneDirection U_TURN_LEFT

      A lane direction that makes a left u-turn.

    • SLIGHT_RIGHT

      public static final LaneDirection SLIGHT_RIGHT

      A lane direction that goes slightly right.

    • QUITE_RIGHT

      public static final LaneDirection QUITE_RIGHT

      A lane direction that goes quite right.

    • HARD_RIGHT

      public static final LaneDirection HARD_RIGHT

      A lane direction that goes hard right.

    • U_TURN_RIGHT

      public static final LaneDirection U_TURN_RIGHT

      A lane direction that makes a right u-turn.

    • MERGE_RIGHT

      public static final LaneDirection MERGE_RIGHT

      A lane direction that merges with the lane one the right.

    • MERGE_LEFT

      public static final LaneDirection MERGE_LEFT

      A lane direction that merges with the lane one the left.

    • MERGE_LANES

      public static final LaneDirection MERGE_LANES

      A lane direction that merges with the lane an other lane.

    • SECOND_RIGHT

      public static final LaneDirection SECOND_RIGHT

      A lane direction that leads to the second turn to the right.

    • SECOND_LEFT

      public static final LaneDirection SECOND_LEFT

      A lane direction that leads to the second turn to the left.

  • Method Details

    • values

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