AWFLightningThreat
Objective-C
@interface AWFLightningThreat : AWFGeographicObject
Swift
class AWFLightningThreat : AWFGeographicObject
An AWFLightningThreat
object represents data returned by the lightning/threats endpoint
of the Aeris Weather API.
-
Unique identifier for the lightning storm threat.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull stormId;
Swift
var stormId: String { get set }
-
Data source for the lightning storm threat.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull dataSource;
Swift
var dataSource: String { get set }
-
Date/time when the lightning storm threat was issued.
Declaration
Objective-C
@property (nonatomic, copy) NSDate *_Nonnull issued;
Swift
var issued: Date { get set }
-
Starting date/time of the lightning storm threat.
Declaration
Objective-C
@property (nonatomic, copy) NSDate *_Nonnull startDate;
Swift
var startDate: Date { get set }
-
Ending date/time of the lightning storm threat.
Declaration
Objective-C
@property (nonatomic, copy) NSDate *_Nonnull endDate;
Swift
var endDate: Date { get set }
-
A Boolean indicating whether this is a severe lightning storm threat.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isSevere;
Swift
var isSevere: Bool { get }
-
An
AWFLightningThreatMovement
instance containing direction and speed information about the lightning storm threat, ornil
if not available.Declaration
Objective-C
@property (nonatomic, strong, nullable) AWFLightningThreatMovement *movement;
Swift
var movement: AWFLightningThreatMovement? { get set }
-
Array of
AWFThreatPeriod
instances for the current and future periods, containing coverage area and start and end date-time information for each period.Declaration
Objective-C
@property (nonatomic, copy) NSArray<AWFLightningThreatPeriod *> *_Nonnull periods;
Swift
var periods: [AWFLightningThreatPeriod] { get set }
-
Array of coordinates (latitude, longitude) representing the estimated direction of the storm, or
nil
if not available.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<AWFGeoPolygonCoordValue> *forecastPath;
Swift
var forecastPath: [[NSNumber]]? { get set }
-
The geo polyline defined by the array of coordinates, or
nil
if not available.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) AWFGeoPolygon *forecastPolyline;
Swift
var forecastPolyline: AWFGeoPolygon? { get }
-
Time zone of the location of the lightning storm threat.
Declaration
Objective-C
@property (nonatomic, copy) NSTimeZone *_Nonnull timeZone;
Swift
var timeZone: TimeZone { get set }