onRouteAdded

abstract fun onRouteAdded(route: Route, options: RoutePlanningOptions, reason: RouteAddedReason)

Called whenever a route has been added to the navigation session.

Parameters

route

The route that has been added to the session.

options

The options that were used for route planning.

reason

The reason why the route has been added to the session.