RoutePlanningCallback

Callback which is responsible to inform about a received RoutePlanningResponse or respective failure.

If the route planning completes successfully, onSuccess will be called with a RoutePlanningResponse containing the planned routes. Otherwise, onFailure is called with a RoutingFailure object indicating the error that occurred.

Functions

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

Called when each route is successfully calculated.

Inherited functions

Link copied to clipboard
abstract fun onFailure(failure: RoutingFailure)
Link copied to clipboard
abstract fun onSuccess(result: RoutePlanningResponse)