Tec
public struct Tec
The Tec class contains details of a traffic event.
-
Initializes a announcement with all its initial values.
Declaration
Swift
public init(causes: [Cause], effectCode: Int)
Parameters
causes
List of the causes of a traffic event.
effectCode
The effect of the incident on the traffic flow as defined in the TPEG2-TEC standard.
-
List of the causes of a traffic event.
Declaration
Swift
public let causes: [Cause]
-
The effect of the incident on the traffic flow as defined in the TPEG2-TEC standard.
Declaration
Swift
public let effectCode: Int