Class RouteStop
Package com.here.sdk.routing
Class RouteStop
- java.lang.Object
-
- com.here.sdk.routing.RouteStop
-
public final class RouteStop extends java.lang.ObjectRoute 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 Summary
Fields Modifier and Type Field Description intlocationIndexIndex of location, used for route stop.DurationstopDurationTime that will be spent on route stop.
-
Constructor Summary
Constructors Constructor Description RouteStop(int locationIndex)Creates a new instance.
-
-
-
Field Detail
-
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.
-
-