SYIncidentWithTrace Class Reference

Incident which is moving and contains history of recent locations. More...

#import <SYIncident.h>

Inheritance diagram for SYIncidentWithTrace:
Collaboration diagram for SYIncidentWithTrace:

Instance Methods

(nonnull instancetype) - initWithId:location:category:validTo:trace:
 
- Instance Methods inherited from SYIncident
(nonnull instancetype) - initWithId:location:category:validTo:
 
((unavailable("Use init with parameters.") - __attribute__
 

Properties

SYGeoPolyline * trace
 Recent locations of the incident (history of movement). More...
 
- Properties inherited from SYIncident
SYIncidentIdid
 Identifier of the incident. More...
 
SYGeoCoordinatelocation
 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__
 

Detailed Description

Incident which is moving and contains history of recent locations.

Method Documentation

◆ initWithId:location:category:validTo:trace:

- (nonnull instancetype) initWithId: (nonnull SYIncidentId *)  id
location: (nonnull SYGeoCoordinate *)  location
category: (nonnull NSString *)  category
validTo: (nonnull NSDate *)  validTo
trace: (nonnull SYGeoPolyline *)  trace 

Property Documentation

◆ trace

- (SYGeoPolyline*) trace
readwritenonatomicstrong

Recent locations of the incident (history of movement).


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