sdk-routing / com.tomtom.online.sdk.routing / RouteCallback

RouteCallback

@DeprecatedSince(2020, 6) interface RouteCallback
Deprecated: Deprecated in Java

The default callback Response on the query to RoutePlanner.

Functions

onRoutePlannerError

abstract fun onRoutePlannerError(error: ServiceException): Unit

Called when the Request to the RoutePlanner will fail due to error.

onRoutePlannerResponse

abstract fun onRoutePlannerResponse(routeResponse: RouteResponse): Unit

Called when the route will be calculated by RoutePlanner.