TrafficEvent
public struct TrafficEventRepresentation of a traffic event. Traffic events represent unusual situations on the road, like traffic congestion, accidents or road works.
Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  Identifier of the traffic event. DeclarationSwift public let id: String
- 
                  
                  Category of the traffic event. DeclarationSwift public let category: Category?
- 
                  
                  Delay that this event adds to the affected roads. DeclarationSwift public let delay: Measurement<UnitDuration>?
- 
                  
                  Traffic path from tail to head. DeclarationSwift public let path: [CLLocationCoordinate2D]
- 
                  
                  Effect code for the event. DeclarationSwift public let effectCode: EffectCode?
- 
                  
                  True if the event is on a one way road. DeclarationSwift public let isOneWay: Bool
- 
                  
                  Driving side of the event. DeclarationSwift public let drivingSide: DrivingSide
- 
                  
                  Causes as defined in TPEG2-TEC. DeclarationSwift public let causes: [Cause]
- 
                  
                  The road type of the road at the start of the event. DeclarationSwift public let roadType: RoadType
- 
                  
                  The road class of the road at the start of the event. DeclarationSwift public let roadClass: RoadClass?
- 
                  
                  The sub class for the road class, if present. DeclarationSwift public let roadSubclass: RoadSubClass?
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         TrafficEvent
          TrafficEvent