Callback

interface Callback

Callback for Router fetching

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()
Called whenever a route request is canceled.
onFailure
Link copied to clipboard
abstract fun onFailure(throwable: Throwable)
onResponse
Link copied to clipboard
abstract fun onResponse(routes: List<DirectionsRoute>)
Non-empty list of DirectionsRoute
toString
Link copied to clipboard
open fun toString(): String