Tec
public struct Tec
The Tec class contains details of a traffic event.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes a announcement with all its initial values.
Declaration
Swift
public init(causes: [Cause], effectCode: Int)Parameters
causesList of the causes of a traffic event.
effectCodeThe 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
Tec Structure Reference