update

open override fun update(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RoutingFailure>

Updates a route using the provided navigation snapshot.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

If the call succeeds, returns a RouteReplannerResponse. If it fails, returns a RoutingFailure.

Parameters

navigationSnapshot

The snapshot of the current navigation session.