Package-level declarations

Types

Link copied to clipboard
data class Cause(val mainCauseCode: Int?, val subCauseCode: Int?)

The cause of the traffic event.

Link copied to clipboard

Magnitude of delay caused by the incident.

Link copied to clipboard

The type of the incident.

Link copied to clipboard
data class Tec(val effectCode: Int, val causes: List<Cause>)

The details of the traffic event.

Link copied to clipboard
data class TrafficSection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance, val simpleCategory: SimpleCategory = SimpleCategory.OTHER, val effectiveSpeedInKmh: Int, val delay: Duration, val magnitudeOfDelay: MagnitudeOfDelay? = null, val tec: Tec? = null, val id: String? = null) : Section

Represents a route section with a traffic event.