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 - MatrixRoutingQuery!: The object which contains data necessary to execute matrix computing action.

Return
Single<MatrixRoutingResponse!>!: 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 - MatrixRoutingQuery!: The object which contains data necessary to execute matrix computing action.

listener - MatrixRoutingResultListener!: The MatrixRoutingResultListener which contains data about matrix.