RouterCallback
Interface definition for a callback associated with routes request.
Functions
Link copied to clipboard
abstract fun onCanceled(routeOptions: RouteOptions, routerOrigin: RouterOrigin)
Content copied to clipboard
Called whenever a route request is canceled.
Link copied to clipboard
abstract fun onFailure(reasons: List<RouterFailure>, routeOptions: RouteOptions)
Content copied to clipboard
Called whenever router fails.
Link copied to clipboard
abstract fun onRoutesReady(routes: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Content copied to clipboard
Called whenever a new set of routes is available.