update
abstract fun update(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RouteReplanningFailure>
Updates a route using the provided NavigationSnapshot object. It is used for the continuous replanning of the active route during navigation. The RouteReplannerResponse contains the current route with updated dynamic properties, such as ETA and sections and the alternative route found, if any. The refreshed route is the first one in the RouteReplannerResponse.routes list.
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 RouteReplanningFailure.
Parameters
navigationSnapshot
The snapshot of the current navigation session.