public interface RouteCallback
Modifier and Type | Method and Description |
---|---|
void |
onRoutePlannerError(com.tomtom.online.sdk.common.service.ServiceException error)
Called when the request to the RoutePlanner will fail due to error.
|
void |
onRoutePlannerResponse(RouteResponse routeResponse)
Called when the route will be calculated by RoutePlanner.
|
void onRoutePlannerResponse(@NonNull RouteResponse routeResponse)
routeResponse
- The result with the route's data.void onRoutePlannerError(@NonNull com.tomtom.online.sdk.common.service.ServiceException error)
error
- The throwable object which represents the error which occurred.