public interface RouteCallback
|Modifier and Type||Method and Description|
Called when the request to the RoutePlanner will fail due to error.
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.