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

planMatrixRoutes

abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>

Performs reactive matrix computing action based on provided MatrixRoutingQuery object.

Parameters

matrixQuery - The object which contains data necessary to execute matrix computing action.

Return
BatchRoutingResponse's Single object

abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery, listener: MatrixRoutingResultListener): Unit

Performs matrix computing action based on provided MatrixRoutingQuery object and returns the routes in the callback.

Parameters

matrixQuery - The object which contains data necessary to execute matrix computing action.

listener - The MatrixRoutingResultListener which contains data about matrix.