Enum Class WaypointType

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

public enum WaypointType extends Enum<WaypointType>

Defines if the waypoint is a stop over, or a hint for a desired polyline of a route.

  • Enum Constant Details

    • STOPOVER

      public static final WaypointType 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

      public static final WaypointType 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

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