RoutesCallback

fun interface RoutesCallback

Route Callback is useful to set new route(s) on reroute event. Doing the same as MapboxNavigation.setRoutes.

Functions

Link copied to clipboard
abstract fun onNewRoutes(routes: List<DirectionsRoute>)

Called whenever new route(s) has been fetched.