refreshRouteWithRouteHandleAndRefreshRouteParameters abstract method
- RefreshRouteParameters refreshRouteParameters,
- RoutingOptions routingOptions,
- CalculateRouteCallback callback
Asynchronously refreshes a previously calculated route from the provided RouteHandle, updating the starting point and route metadata based on RoutingOptions.
The route shape from the new starting point to the destination remains unchanged, and only metadata such as arrival time and traffic delays are updated.
-
refreshRouteParametersThe parameters used to refresh the route -
routingOptionsThe options define the vehicle and route options used to calculate the route. -
callbackCallback object that will be invoked after refreshing the route. It is always invoked on the main thread.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task.
Implementation
TaskHandle refreshRouteWithRouteHandleAndRefreshRouteParameters(RefreshRouteParameters refreshRouteParameters, RoutingOptions routingOptions, CalculateRouteCallback callback);