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

IFlowSegmentDataQuery

interface IFlowSegmentDataQuery

This query is an interface designed to transfer Traffic Flow Segment Data parameters in a readable manner by implementing the class: FlowSegmentDataQueryBuilder. The FlowSegmentDataQuery instance can be constructed using the associated FlowSegmentDataQueryBuilder class. Once constructed, the user cannot change the field values.

Functions

withIncludeOpenLR

abstract fun withIncludeOpenLR(includeOperLR: Boolean!): IFlowSegmentDataQuery!

Should the Response include OpenLR code?

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.

withThickness

abstract fun withThickness(thickness: Int!): IFlowSegmentDataQuery!

Thickness segment width multiplier.