CoreTrafficEvent
class CoreTrafficEvent(var id: String, var category: Category? = null, var delay: Duration? = null, var length: Distance? = null, var effectCode: EffectCode? = null, var causes: List<Cause> = emptyList())
Core representation of a traffic event.
Traffic events represent unusual situations on the road, like traffic congestion, accidents, or road works. This class serves as a foundational model for defining specific types of traffic events within the NavSDK. It can be used as a base to create more specialized traffic event representations tailored to specific use cases.