NavigationRouterCallback

interface NavigationRouterCallback

Interface definition for a callback associated with routes request.

Functions

Link copied to clipboard
abstract fun onCanceled(routeOptions: RouteOptions, routerOrigin: RouterOrigin)

Called whenever a route request is canceled.

Link copied to clipboard
abstract fun onFailure(reasons: List<RouterFailure>, routeOptions: RouteOptions)

Called whenever router fails.

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

Called whenever a new set of routes is available.