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