RoutesCallback

fun interface RoutesCallback

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

Functions

Link copied to clipboard
abstract fun onNewRoutes(routes: List<NavigationRoute>, routerOrigin: String)

Called whenever new route(s) has been fetched.