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

RouteCallback

interface RouteCallback

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.