RouteRemovedCallback

interface RouteRemovedCallback

Callback used in the NavigationController.removeRouteFromTrip function. Route removal is asynchronous and the callback methods will be called once the removal is finished, whether it succeeds or not.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

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

Called when route removal cannot be performed.

Link copied to clipboard
abstract fun onRouteRemoved(route: Route)

Called when route is removed successfully.