RouteRefreshCallback

A callback to call when a route is refreshed or an error is ready to be sent to the Nav SDK.

Functions

Link copied to clipboard
abstract fun onFailure(failure: TestRefresherFailure)

Call this method to return an error on route refresh.

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

Call this method to return a refreshed route to the Nav SDK.