TrafficSection

data class TrafficSection(val geometry: List<<Error class: unknown class>>, val routeOffset: <Error class: unknown class>, val length: <Error class: unknown class>, val simpleCategory: SimpleCategory = SimpleCategory.OTHER, val effectiveSpeedInKmh: Int, val delay: <Error class: unknown class>, val magnitudeOfDelay: MagnitudeOfDelay? = null, val tec: Tec? = null) : Section

Represents a route section with a traffic event.

Parameters

simpleCategory

Gets the type of the incident.

effectiveSpeedInKmh

Gets the effective speed of the incident in km/h, averaged over its entire length.

delay

Gets the delay caused by the incident.

magnitudeOfDelay

Gets the magnitude of delay caused by the incident.

tec

Gets the details of the traffic event.

See also

Constructors

Link copied to clipboard
constructor(geometry: List<<Error class: unknown class>>, routeOffset: <Error class: unknown class>, length: <Error class: unknown class>, simpleCategory: SimpleCategory = SimpleCategory.OTHER, effectiveSpeedInKmh: Int, delay: <Error class: unknown class>, magnitudeOfDelay: MagnitudeOfDelay? = null, tec: Tec? = null)

Properties

Link copied to clipboard
val delay: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
open override val geometry: List<<Error class: unknown class>>

List of coordinates representing section.

Link copied to clipboard
open override val length: <Error class: unknown class>

Distance from the the first point of geometry to the last point.

Link copied to clipboard
Link copied to clipboard
open override val routeOffset: <Error class: unknown class>

Distance from the start of the route to the first point of geometry.

Link copied to clipboard
Link copied to clipboard
val tec: Tec? = null