TrafficSection
fun TrafficSection(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, simpleCategory: SimpleCategory = SimpleCategory.OTHER, effectiveSpeedInKmh: Int, delay: Duration, magnitudeOfDelay: MagnitudeOfDelay? = null, tec: Tec? = null)
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.