public interface RoutingApi
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ONLINE_ROUTING_ENDPOINT
Default TomTom's OnlineRouting endpoint
|
static java.lang.String |
DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION
Default TomTom's OnlineRouting service version
|
| Modifier and Type | Method and Description |
|---|---|
Single<ReachableRangeResponse> |
findReachableRange(ReachableRangeQuery query)
Performs reactive reachable range computing action based on provided
ReachableRangeQuery object. |
void |
findReachableRange(ReachableRangeQuery query,
ReachableRangeResultListener listener)
Performs reachable range computing action action based on provided
ReachableRangeQuery object and returns the route in the callback. |
Single<BatchRoutingResponse> |
planBatchRoute(BatchRoutingQuery batchQuery)
Performs reactive batch computing action based on provided
BatchRoutingQuery object. |
void |
planBatchRoute(BatchRoutingQuery batchQuery,
BatchableRoutingResultListener listener)
Performs batch computing action based on provided
BatchRoutingQuery object and returns the routes in the callback. |
Single<RouteResult> |
planRoute(RouteQuery routeQuery)
Performs reactive route planning action based on provided RouteQuery object.
|
void |
planRoute(RouteQuery routeQuery,
RouteCallback callback)
Performs route planning action based on provided
RouteQuery object and returns the route in the callback. |
static final java.lang.String DEFAULT_ONLINE_ROUTING_ENDPOINT
static final java.lang.String DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION
Single<RouteResult> planRoute(RouteQuery routeQuery)
routeQuery - The object which contains data necessary to execute route planning action.RouteResult's Single object.void planRoute(RouteQuery routeQuery, RouteCallback callback)
RouteQuery object and returns the route in the callback.routeQuery - The object which contains data necessary to execute route planning action.callback - The RouteCallbackwhich contains data about planned route.Single<ReachableRangeResponse> findReachableRange(ReachableRangeQuery query)
ReachableRangeQuery object.query - The object which contains data necessary to execute reachable range computing action.ReachableRangeResponse's Single objectvoid findReachableRange(ReachableRangeQuery query, ReachableRangeResultListener listener)
ReachableRangeQuery object and returns the route in the callback.query - The object which contains data necessary to execute reachable range computing action.listener - The ReachableRangeResultListener which contains data about reachable range.Single<BatchRoutingResponse> planBatchRoute(BatchRoutingQuery batchQuery)
BatchRoutingQuery object.batchQuery - The object which contains data necessary to execute batch computing action.BatchRoutingResponse's Single objectvoid planBatchRoute(BatchRoutingQuery batchQuery, BatchableRoutingResultListener listener)
BatchRoutingQuery object and returns the routes in the callback.batchQuery - The object which contains data necessary to execute batch computing action.listener - The BatchableRoutingResultListener which contains data about batch.