start abstract method

void start(
  1. Route route,
  2. 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.

  • route The route to be refreshed. The route must contain a RouteHandle, therefore the route must have been requested with RouteOptions.enableRouteHandle set to true. The information to calculate new routes will be extracted from the provided route parameter. If more information from the original waypoints is important besides their location, consider to use one of the overloaded methods instead.

  • listener The listener to receive the events.

Throws DynamicRoutingEngineStartException. when the passed parameter are invalid.

Implementation

void start(Route route, DynamicRoutingListener listener);