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

RouteCallback

@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteCallback") 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.