RoutePlanningCallback

Callback which is responsible to inform about a received RoutePlanningResult or respective error.

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: RoutingError)
Link copied to clipboard
abstract fun onRoutePlanned(route: Route)

Called when each route is successfully calculated.

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