TTMapTrafficIncidentBase
Objective-C
@interface TTMapTrafficIncidentBase : TTMapTrafficData
Swift
class TTMapTrafficIncidentBase : TTMapTrafficData
TTMapTrafficIncidentBase
-
The ID of incident. Can be undefined -1
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger incidentID;
Swift
var incidentID: Int { get }
-
The tag value describes the road type.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nullable roadType;
Swift
var roadType: String? { get }
-
The value which indicates if the road has left hand traffic. If the tag is not present the road has right hand traffic.
Declaration
Objective-C
@property (nonatomic, readonly) TTLeftHandStatus isLeftHandTraffic;
Swift
var isLeftHandTraffic: TTLeftHandStatus { get }
-
The magnitude of delay associated with the incident. These values correspond to incident colors in the traffic tiles. Returns -1 when unknown.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger magnitude;
Swift
var magnitude: Int { get }
-
The tag value describes if the traffic is assigned to the whole road (one way road), or only to one side (two-way road).
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nullable trafficroadCoverage;
Swift
var trafficroadCoverage: String? { get }