Cause
public struct Cause : Codable
Represents information about the cause of a traffic event.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initalizer
Declaration
Swift
public init(mainCauseCode: Int)
Parameters
mainCauseCode
The main cause of the traffic event as defined in the TPEG2-TEC standard.
-
The main cause of the traffic event as defined in the TPEG2-TEC standard.
Declaration
Swift
public let mainCauseCode: Int