interface RoutingApi
TomTom Routing API main object.
It contains methods to use Tomtom's routing engine and it also provides support for standard callback calls and RxJava2 Observables.
abstract fun
Performs a reactive reachable range computing action based on the provided ReachableRangeQuery object. abstract fun
Performs a reachable range computing action action based on the provided ReachableRangeQuery object and returns the route in the callback. |
|
abstract fun
Performs a reactive batch computing action based on the provided BatchRoutingQuery object. abstract fun
Performs a batch computing action based on the provided BatchRoutingQuery object and returns the routes in the callback. |
|
abstract fun
Performs a reactive matrix computing action based on the provided MatrixRoutingQuery object. abstract fun
Performs a matrix computing action based on the provided MatrixRoutingQuery object and returns the routes in the callback. |
|
abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>
Performs a synchronous plan route computing action based on the provided ReachableRangeSpecification object. abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification, reachableAreaCallback: ReachableAreaCallback): Unit
Performs an asynchronous plan route computing action based on the provided ReachableRangeSpecification object and returns the reachable area in the callback. |
|
abstract fun
Performs a reactive route planning action based on the provided RouteQuery object. abstract fun
Performs a route planning action based on the provided RouteQuery object and returns the route in the callback. abstract fun planRoute(routeSpecification: RouteSpecification): Result<RoutePlan>
Performs a synchronous plan route computing action based on the provided RouteSpecification object. abstract fun planRoute(routeSpecification: RouteSpecification, routeCallback: RouteCallback): Unit
Performs an asynchronous plan route computing action based on the provided RouteSpecification object and returns the planned route in the callback. abstract fun planRoute(evRouteSpecification: EvRouteSpecification): Result<EvRoutePlan>
Performs a synchronous plan route computing action based on the provided EvRouteSpecification object. abstract fun planRoute(evRouteSpecification: EvRouteSpecification, callback: EvRouteCallback): Unit
Performs an asynchronous plan route computing action based on the provided EvRouteSpecification object and returns the route plan in the callback. |
|
abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
Performs a synchronous plan route computing action based on the provided BatchRoutesSpecification object. abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification, batchRoutesCallback: BatchRoutesCallback): Unit
Performs an asynchronous plan route computing action based on the provided BatchRoutesSpecification object and returns the batch routes in the callback. abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
Performs a synchronous plan route computing action based on the provided MatrixRoutesSpecification object. abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification, matrixRoutesCallback: MatrixRoutesCallback): Unit
Performs an asynchronous plan route computing action based on the provided MatrixRoutesSpecification object and returns the matrix of routes in the callback. |
const val DEFAULT_ONLINE_ROUTING_ENDPOINT: String
The default TomTom Routing API endpoint. |
|
const val DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION: String
The default TomTom Routing API service version. |
open class OnlineRoutingApi : RoutingApi
Default TomTom implementation of the entry point to perform route planning action based on TomTom's Routing API. |