onResponse

abstract fun onResponse(routes: List<DirectionsRoute>)

Non-empty list of DirectionsRoute

Parameters

routes

List<DirectionsRoute> the most relevant has index 0. If requested, alternative routes are available on higher indices. Has at least one Route