backToRoute
abstract fun backToRoute(navigationSnapshot: NavigationSnapshot): Result<RouteReplannerResponse, RoutingFailure>
Plans a way back to the route using the provided NavigationSnapshot object.
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.