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

planMatrixRoutes

@DeprecatedSince(2020, 7) abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>
Deprecated: This method is replaced by appropriate method in sdk-routing-rxjava2 module. Please visit https://developer.tomtom.com/maps-android-sdk/routing for more details.

Performs a reactive matrix computing action based on the provided MatrixRoutingQuery object.

Parameters

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

Return
MatrixRoutingResponse's Single object.

@DeprecatedSince(2020, 6) abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery, listener: MatrixRoutingResultListener): Unit
Deprecated: This method is going to be replaced by appropriate planRoute() method

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

Parameters

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

listener - The MatrixRoutingResultListener which contains data about the matrix.