abstract fun onRoutesReady(routes: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Content copied to clipboard
Called whenever a new set of routes is available.
the most optimal route has index 0. If requested, alternative routes are available on higher indices. At least one route is always available in a successful response.