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<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.void planRoute(RouteQuery routeQuery, RouteCallback callback)
routeQuery
- The object which contains data necessary to execute route planning action.callback
- The RouteCallback which contains data about planned route.Single<ReachableRangeResponse> findReachableRange(ReachableRangeQuery query)
query
- The object which contains data necessary to execute reachable range computing action.void findReachableRange(ReachableRangeQuery query, ReachableRangeResultListener listener)
query
- The object which contains data necessary to execute reachable range computing action.listener
- The ReachableRangeResultListener which contains data about reachable range.