RouteRefreshCallback

interface RouteRefreshCallback

Interface definition for a callback associated with routes refresh.

Functions

Link copied to clipboard
abstract fun onError(error: RouteRefreshError)

Called when an error has occurred while fetching the route

Link copied to clipboard
abstract fun onRefresh(directionsRoute: DirectionsRoute)

Called when the DirectionsRoute has been refreshed