Incident which is valid within specified radius around its location. More...
#import <SYIncident.h>


Instance Methods | |
| (nonnull instancetype) | - initWithId:location:category:validTo:radius: |
Instance Methods inherited from SYIncident | |
| (nonnull instancetype) | - initWithId:location:category:validTo: |
| ((unavailable("Use init with parameters.") | - __attribute__ |
Properties | |
| SYLength | radius |
| Radius around location (in meters) where the incident is valid. 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 which is valid within specified radius around its location.
| - (nonnull instancetype) initWithId: | (nonnull SYIncidentId *) | id | |
| location: | (nonnull SYGeoCoordinate *) | location | |
| category: | (nonnull NSString *) | category | |
| validTo: | (nonnull NSDate *) | validTo | |
| radius: | (SYLength) | radius | |
|
readwritenonatomicassign |
Radius around location (in meters) where the incident is valid.