@PublicPreview("2021.06") class RxRoutingApi
The TomTom Routing API reactive extension. It contains methods that allow the use of the TomTom Routing API, and it provides support for the RxJava2 Singles.
RxRoutingApi(context: Context, apiKey: String) |
fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Single<ReachableRangeArea>
Performs a reactive plan reachable range computing action based on the provided ReachableRangeSpecification object. |
|
fun planRoute(routeSpecification: RouteSpecification): Single<RoutePlan>
Performs a reactive plan route computing action based on the provided RouteSpecification object. fun planRoute(evRouteSpecification: EvRouteSpecification): Single<EvRoutePlan>
Performs a reactive plan route computing action based on the provided EvRouteSpecification object. |
|
fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification): Single<MatrixRoutesPlan>
Performs a reactive plan route computing action based on the provided MatrixRoutesSpecification object. fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification): Single<BatchRoutesPlan>
Performs a reactive plan route computing action based on the provided BatchRoutesSpecification object. |