NavigationRouterRefreshCallback

interface NavigationRouterRefreshCallback

Interface definition for a callback associated with routes refresh.

Functions

Link copied to clipboard
abstract fun onFailure(error: NavigationRouterRefreshError)

Called when an error has occurred while refreshing the route.

Link copied to clipboard
abstract fun onRefreshReady(route: NavigationRoute)

Called with a new instance of NavigationRoute with the underlying DirectionsRoute refreshed.