RoutePlanningCallback

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

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

Functions

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

Called when each route is successfully calculated.

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