startWithWaypointsAndRoutingOptions abstract method
- RouteHandle routeHandle,
- List<
Waypoint> waypoints, - RoutingOptions routingOptions,
- DynamicRoutingListener listener,
Starts polling the HERE backend services to find a better route, as defined by the DynamicRoutingEngineOptions.
Note: The engine will be internally stopped, if it was started before. Therefore, it is not necessary to stop the engine before starting it again.
-
routeHandleThe route handle from the HERE routing backend. -
waypointsAllows to specify detailed information on the waypoints of the route. This parameter can be useful, when additional information needs to be specified besides the coordinates - as the coordinates can be retrieved from the contained RoutePlace that are already contained in the RouteHandle parameter. -
routingOptionsThe options for the route calculation. -
listenerThe listener to receive the events.
Throws DynamicRoutingEngineStartException. when the passed parameter are invalid.
Implementation
void startWithWaypointsAndRoutingOptions(RouteHandle routeHandle, List<Waypoint> waypoints, RoutingOptions routingOptions, DynamicRoutingListener listener);