startWithWaypointsAndRoutingOptions abstract method

void startWithWaypointsAndRoutingOptions(
  1. RouteHandle routeHandle,
  2. List<Waypoint> waypoints,
  3. RoutingOptions routingOptions,
  4. 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.

  • routeHandle The route handle from the HERE routing backend.

  • waypoints Allows 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.

  • routingOptions The options for the route calculation.

  • listener The 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);