@Beta(2020, 12) abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
Performs a synchronous plan route computing action based on the provided BatchRoutesSpecification object.
batchRoutesSpecification
- The object which contains data necessary
to execute the plan route computing action.
Return
BatchRoutesPlan's Result object.
@Beta(2020, 12) abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification, batchRoutesCallback: BatchRoutesCallback): Unit
Performs an asynchronous plan route computing action based on the provided BatchRoutesSpecification object and returns the batch routes in the callback.
batchRoutesSpecification
- The object which contains data necessary to execute
the plan route computing action.
@Beta(2020, 12) abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
Performs a synchronous plan route computing action based on the provided MatrixRoutesSpecification object.
matrixRoutesSpecification
- The object which contains data necessary
to execute the plan route computing action.
Return
MatrixRoutesPlan's Result object.
@Beta(2020, 12) abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification, matrixRoutesCallback: MatrixRoutesCallback): Unit
Performs an asynchronous plan route computing action based on the provided MatrixRoutesSpecification object and returns the matrix of routes in the callback.
matrixRoutesSpecification
- The object which contains the data necessary to execute
the plan route computing action.