Class RouteStop

java.lang.Object
com.here.sdk.routing.RouteStop

public final class RouteStop extends Object

Route stop that should be used together with import route functionality. It specifies location index within provided route locations track. Route stop can have additional stop delay, which will be included in expected time to arrival. During navigation the stop will be treated as stopover and will be reported as milestone when passing-by. Only available for the Navigate licence.

  • Field Details

    • locationIndex

      public int locationIndex

      Index of location, used for route stop. Index should be >= 1, which prevents user from using origin location as route stop.

    • stopDuration

      @NonNull public Duration stopDuration

      Time that will be spent on route stop.

  • Constructor Details

    • RouteStop

      public RouteStop(int locationIndex)

      Creates a new instance.

      Parameters:
      locationIndex -

      Index of location, used for route stop. Index should be >= 1, which prevents user from using origin location as route stop.