sdk-routing / com.tomtom.online.sdk.data / MatrixCalculateRouteParams

MatrixCalculateRouteParams

interface MatrixCalculateRouteParams<T : MatrixCalculateRouteParams<MatrixCalculateRouteParams<*>>!>

The interface Route query which specifies the API to construct the query to the Routing API. It only contains params accepted by Matrix Routing.

Functions

withComputeTravelTimeFor

abstract fun withComputeTravelTimeFor(computeTravelTimeFor: TravelTimeType!): T

Specifies whether to return additional travel times using different types of traffic information (none, historic, live) as well as the default best-estimate travel time.

withSectionType

abstract fun withSectionType(sectionType: SectionType!): T

Specifies which of the section types is reported in the route Response.