update

abstract fun update(routePlan: RoutePlan)

Updates the navigation session with a Route from a provided RoutePlan. If the navigation was started with a Route then this method will replace the current Route with the provided one. If the navigation was started without a Route then this method will start navigating on the provided Route.

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

Parameters

routePlan

Details of the route that will replace the currently navigated one (if any).