sdk-traffic / com.tomtom.online.sdk.traffic.flow.query / FlowSegmentDataQueryBuilder / withSpeedUnit

withSpeedUnit

fun withSpeedUnit(speedUnit: FlowSegmentSpeedUnit): FlowSegmentDataQueryBuilder

Overrides IFlowSegmentDataQuery.withSpeedUnit

The representation of Speed units. All values regarding speed in the Response will be recalculated to this unit.

Parameters

unit - Unit of speed (KMPH/MPH).

Return
The builder of the query.