SYTrafficEvent Class Reference

SYTrafficEvent represents a real-world traffic event such as an accident or road work. Not all traffic events will have complete information available, and some information may not be available immediately. If a property returns nil, it should be checked again after some time. More...

#import <SYTraffic.h>

Inheritance diagram for SYTrafficEvent:
Collaboration diagram for SYTrafficEvent:

Properties

NSTimeInterval delay
 Delay in seconds. More...
 
SYDistance distance
 Distance of the traffic event from the route start, in meters. More...
 
SYDistance affectedLength
 The affected length of the traffic event, in meters. More...
 
NSNumber * uniqueId
 Event unique id. More...
 
SYTrafficSeverity severity
 Indicates the severity of the traffic event, from "Normal" to "Blocking". More...
 
SYGeoBoundingBoxaffectedArea
 Area bounding box of the event. More...
 

Detailed Description

SYTrafficEvent represents a real-world traffic event such as an accident or road work. Not all traffic events will have complete information available, and some information may not be available immediately. If a property returns nil, it should be checked again after some time.

Property Documentation

◆ delay

- (NSTimeInterval) delay
readnonatomicassign

Delay in seconds.

◆ distance

- (SYDistance) distance
readnonatomicassign

Distance of the traffic event from the route start, in meters.

◆ affectedLength

- (SYDistance) affectedLength
readnonatomicassign

The affected length of the traffic event, in meters.

◆ uniqueId

- (NSNumber*) uniqueId
readnonatomicassign

Event unique id.

◆ severity

- (SYTrafficSeverity) severity
readnonatomicassign

Indicates the severity of the traffic event, from "Normal" to "Blocking".

◆ affectedArea

- (SYGeoBoundingBox*) affectedArea
readnonatomicassign

Area bounding box of the event.


The documentation for this class was generated from the following file: