sdk-maps / com.tomtom.online.sdk.map.traffic / TrafficFlow / getTrafficLevel

getTrafficLevel

open fun getTrafficLevel(): Optional<Double!>!

Gets the value which indicates the traffic speed. Absolute values in kph are used when the traffic type is set to absolute. Fractional values are used when the traffic type is set to relative or relative-delay.

Return
Optional<Double!>!: The value which indicates the traffic speed.