Incident typically representing a monitoring device which is oriented to look at specific direction. More...
#import <SYIncident.h>


Instance Methods | |
| (nonnull instancetype) | - initWithId:location:category:validTo:heading:bidirectional: |
Instance Methods inherited from SYIncident | |
| (nonnull instancetype) | - initWithId:location:category:validTo: |
| ((unavailable("Use init with parameters.") | - __attribute__ |
Properties | |
| SYAngle | heading |
| Direction (angle in degrees) where the monitoring device is looking. 0 is North, angle grows clockwise. More... | |
| BOOL | bidirectional |
| In case of speed camera, specifies if camera detects speeding vehicles in both directions on the road. More... | |
Properties inherited from SYIncident | |
| SYIncidentId * | id |
| Identifier of the incident. More... | |
| SYGeoCoordinate * | location |
| Geographicatl position of the incident. More... | |
| NSString * | category |
| Incident category. Typically it's one of SYIncidentType constants, but not limited to them. More... | |
| NSDate * | validTo |
| Time until which the incident is considered valid (because incidents are often temporary by their nature). More... | |
Additional Inherited Members | |
Class Methods inherited from SYIncident | |
| ((unavailable("Use init with parameters.") | + __attribute__ |
Incident typically representing a monitoring device which is oriented to look at specific direction.
| - (nonnull instancetype) initWithId: | (nonnull SYIncidentId *) | id | |
| location: | (nonnull SYGeoCoordinate *) | location | |
| category: | (nonnull NSString *) | category | |
| validTo: | (nonnull NSDate *) | validTo | |
| heading: | (SYAngle) | heading | |
| bidirectional: | (BOOL) | bidirectional | |
|
readwritenonatomicassign |
Direction (angle in degrees) where the monitoring device is looking. 0 is North, angle grows clockwise.
|
readwritenonatomicassign |
In case of speed camera, specifies if camera detects speeding vehicles in both directions on the road.