importFromHandleWithRoutingOptions abstract method
- RouteHandle routeHandle,
- RoutingOptions options,
- CalculateRouteCallback callback
Asynchronously recreates a route from the RouteHandle provided, i.e.
refreshes a previously calculated route, with the specified RefreshRouteOptions.
A route handle can be invalid when the map data changes that is used by the HERE sdk to recreate the route. This happens regularly. Therefore, the route handle is not meant to be persisted for a longer time.
-
routeHandleThe route handle holding the route to be refreshed. -
optionsOptions to import the route from handle. -
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 importFromHandleWithRoutingOptions(RouteHandle routeHandle, RoutingOptions options, CalculateRouteCallback callback);