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

planBatchRoute

abstract fun planBatchRoute(batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>

Performs reactive batch computing action based on provided BatchRoutingQuery object.

Parameters

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

Return
BatchRoutingResponse's Single object

abstract fun planBatchRoute(batchQuery: BatchRoutingQuery, listener: BatchableRoutingResultListener): Unit

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

Parameters

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

listener - The BatchableRoutingResultListener which contains data about batch.