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

EvRouteCallback

@Beta(2020, 9) interface EvRouteCallback

Callback which is responsible to inform 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 a EvRoutePlan has been obtained successfully.