sdk-routing / com.tomtom.online.sdk.routing / RoutingApi / planBatchRoute

planBatchRoute

@DeprecatedSince(2020, 7) abstract fun planBatchRoute(batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>
Deprecated: This method is replaced by appropriate method in sdk-routing-rxjava2 module. Please visit https://developer.tomtom.com/maps-android-sdk/routing for more details.

Performs a reactive batch computing action based on the provided BatchRoutingQuery object.

Parameters

batchQuery - The object which contains the data necessary to execute the batch computing action.

Return
BatchRoutingResponse's Single object.

@DeprecatedSince(2020, 6) abstract fun planBatchRoute(batchQuery: BatchRoutingQuery, listener: BatchableRoutingResultListener): Unit
Deprecated: This method is going to be replaced by appropriate planRoute() method

Performs a batch computing action based on the provided BatchRoutingQuery object and returns the routes in the callback.

Parameters

batchQuery - The object which contains the data necessary to execute the batch computing action.

listener - The BatchableRoutingResultListener which contains data about a batch.