Incident representation. Typically incident is a potentially dangerous event or warning, which has temporary and unpredictable nature, it may appear/disappear randomly (like road works, vehicle accident, weather conditions).
More...
#import <SYIncident.h>
Incident representation. Typically incident is a potentially dangerous event or warning, which has temporary and unpredictable nature, it may appear/disappear randomly (like road works, vehicle accident, weather conditions).
◆ initWithId:location:category:validTo:
| - (nonnull instancetype) initWithId: |
|
(nonnull SYIncidentId *) |
id |
| location: |
|
(nonnull SYGeoCoordinate *) |
location |
| category: |
|
(nonnull NSString *) |
category |
| validTo: |
|
(nonnull NSDate *) |
validTo |
|
|
| |
◆ __attribute__ [1/2]
| - ((unavailable("Use init with parameters.") __attribute__ |
|
|
|
◆ __attribute__ [2/2]
| + ((unavailable("Use init with parameters.") __attribute__ |
|
|
|
◆ id
Identifier of the incident.
◆ location
Geographicatl position of the incident.
◆ category
Incident category. Typically it's one of SYIncidentType constants, but not limited to them.
◆ validTo
Time until which the incident is considered valid (because incidents are often temporary by their nature).
The documentation for this class was generated from the following file: