RoutesCallback

fun fun interface RoutesCallback

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onNewRoutes
Link copied to clipboard
abstract fun onNewRoutes(routes: List<DirectionsRoute>)
Called whenever new route(s) has been fetched.
toString
Link copied to clipboard
open fun toString(): String