@Beta(2020, 12) interface RouteCallback
Callback which is responsible to inform about a received RoutePlan or respective error.
abstract fun onError(error: RoutingException): Unit
Called when an error occurs during the process of obtaining the RoutePlan. |
|
abstract fun onSuccess(routePlan: RoutePlan): Unit
Called when a RoutePlan has been obtained successfully. |