Package com.tomtom.sdk.common.route.section.traffic

Types

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

The cause of the traffic event.

Link copied to clipboard
enum MagnitudeOfDelay : Enum<MagnitudeOfDelay>

Magnitude of delay caused by the incident.

Link copied to clipboard
enum SimpleCategory : Enum<SimpleCategory>

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<GeoCoordinate>,     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) : Section

Represents a route section with lane section available.