@PublicPreview("2021.06") 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.
@PublicPreview("2021.06") 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.
@PublicPreview("2021.06") 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.
@PublicPreview("2021.06") 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.