sdk-routing-rxjava2 / com.tomtom.online.sdk.routing.rx / RxRoutingApi

RxRoutingApi

@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.

Constructors

<init>

RxRoutingApi(context: Context, apiKey: String)

Functions

planReachableRange

fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Single<ReachableRangeArea>

Performs a reactive plan reachable range computing action based on the provided ReachableRangeSpecification object.

planRoute

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.

planRoutes

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.