RouterCallback

interface RouterCallback

Interface definition for a callback associated with routes request.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onCanceled
Link copied to clipboard
abstract fun onCanceled(routeOptions: RouteOptions, routerOrigin: RouterOrigin)
Called whenever a route request is canceled.
onFailure
Link copied to clipboard
abstract fun onFailure(reasons: List<RouterFailure>, routeOptions: RouteOptions)
Called whenever router fails.
onRoutesReady
Link copied to clipboard
abstract fun onRoutesReady(routes: List<DirectionsRoute>, routerOrigin: RouterOrigin)
Called whenever a new set of routes is available.
toString
Link copied to clipboard
open fun toString(): String