startWithWaypoints abstract method

  1. @Deprecated("Will be removed in v4.28.0. Use the `start()` method with RoutingOptions parameter instead.")
void startWithWaypoints(
  1. RouteHandle routeHandle,
  2. List<Waypoint> waypoints,
  3. RefreshRouteOptions refreshRouteOptions,
  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.

  • refreshRouteOptions The options for the route calculation.

  • listener The listener to receive the events.

Throws DynamicRoutingEngineStartException. when the passed parameter are invalid.

Implementation

@Deprecated("Will be removed in v4.28.0. Use the `start()` method with RoutingOptions parameter instead.")

void startWithWaypoints(RouteHandle routeHandle, List<Waypoint> waypoints, RefreshRouteOptions refreshRouteOptions, DynamicRoutingListener listener);