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
Link copied to clipboard
Link copied to clipboard
Distance from the start of the route to the first point of geometry.
Link copied to clipboard