AWFLightningStrike
Objective-C
@interface AWFLightningStrike : AWFGeographicObject
Swift
class AWFLightningStrike : AWFGeographicObject
An AWFLightningStrike object represents data returned by the lightning endpoint
of the Aeris Weather API.
-
GMT date of the strike.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;Swift
var timestamp: Date? { get set } -
Type of lightning strike, either cloud-to-cloud (IC) or cloud-to-ground (CG).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *pulseType;Swift
var pulseType: String? { get set } -
Peak electric current in amps, or
NANif not available.Declaration
Objective-C
@property (nonatomic) CGFloat peakAmperage;Swift
var peakAmperage: CGFloat { get set } -
The number of sensors that detected the lightning pulse, or
NSNotFoundif not available.Declaration
Objective-C
@property (nonatomic) NSInteger sensorCount;Swift
var sensorCount: Int { get set }
View on GitHub
AWFLightningStrike Class Reference