@PublicPreview("2021.06") interface EvRouteCallback
Callback that informs 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 an EvRoutePlan has been successfully obtained. |