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

withSpeedUnit

abstract fun withSpeedUnit(unit: FlowSegmentSpeedUnit!): IFlowSegmentDataQuery!

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

Parameters

unit - FlowSegmentSpeedUnit!: Unit of speed (KMPH/MPH).

Return
IFlowSegmentDataQuery!: The builder of the query.