open class OnlineRoutingApi : RoutingApi
Default TomTom implementation of the entry point to perform route planning action based on TomTom's Routing API.
static val DEFAULT_ONLINE_ROUTING_ENDPOINT: String
Default TomTom's Routing API endpoint. |
|
static val DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION: String
Default TomTom's Routing API service version. |
open static fun create(context: Context): RoutingApi! open static fun create(context: Context, apiKey: String!): RoutingApi!
Creates new RoutingApi object which will use provided routing api key. It uses default values for routing service endpoint and routing service api version. |
|
open fun findReachableRange(query: ReachableRangeQuery!): Single<ReachableRangeResponse!>! open fun findReachableRange(query: ReachableRangeQuery!, listener: ReachableRangeResultListener!): Unit |
|
open fun planBatchRoute(batchQuery: BatchRoutingQuery!): Single<BatchRoutingResponse!>! open fun planBatchRoute(batchQuery: BatchRoutingQuery!, listener: BatchableRoutingResultListener!): Unit |
|
open fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery!): Single<MatrixRoutingResponse!>! open fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery!, listener: MatrixRoutingResultListener!): Unit |
|
open fun planRoute(routeQuery: RouteQuery!): Single<RouteResponse!>! open fun planRoute(routeQuery: RouteQuery!, callback: RouteCallback!): Unit |