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(RouteResult routeResult)
Called when the route will be calculated by RoutePlanner.
|
void onRoutePlannerResponse(@NonNull RouteResult routeResult)
routeResult
- 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.