sdk-routing / com.tomtom.online.sdk.routing.data.matrix / MatrixSummary

MatrixSummary

class MatrixSummary

A class used to get the Matrix routing summary. It holds data about how many total routes were calculated and how many of them were successful.

Constructors

<init>

MatrixSummary(successfulRoutes: Int, totalRoutes: Int)

The primary constructor for the MatrixSummary.

Functions

getSuccessfulRoutes

fun getSuccessfulRoutes(): Int

The number of successful routes calculated by the Matrix Routing service.

getTotalRoutes

fun getTotalRoutes(): Int

The total number of routes calculated by the Matrix Routing service.