sdk-routing / com.tomtom.online.sdk.routing.ev / EvRouteCallback

EvRouteCallback

@PublicPreview("2021.06") interface EvRouteCallback

Callback that informs about a received EvRoutePlan or respective error.

Functions

onError

abstract fun onError(error: RoutingException): Unit

Called when an error occurs during the process of obtaining the EvRoutePlan.

onSuccess

abstract fun onSuccess(routePlan: EvRoutePlan): Unit

Called when an EvRoutePlan has been successfully obtained.