AWFAirPollutant
Objective-C
@interface AWFAirPollutant : AWFWeatherObject
Swift
class AWFAirPollutant : AWFWeatherObject
An AWFAirPollutant
object represents a single air pollutant and its observed or forecast measurement.
-
Name of the pollutant.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *name;
Swift
var name: String? { get set }
-
Air quality category based on the AQI value.
This value depends on the data method used to calculate the AQI value. The default AQI method is based on the categories from AirNow.
china
- https://en.wikipedia.org/wiki/Air_quality_indexindia
- https://en.wikipedia.org/wiki/Air_quality_indexDeclaration
Objective-C
@property (nonatomic, copy, nullable) NSString *category;
Swift
var category: String? { get set }
-
Abbreviated type code of the pollutant.
Possible values:
co
: carbon monoxideno2
: nitrogen dioxideo3
: ozonepm1
: partical matter (< 1µm)pm10
: partical matter (< 10µm)pm2.5
: partical matter (< 2.5µm)so2
: sulfer dioxide
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *type;
Swift
var type: String? { get set }
-
Six-digit hexadecimal color code for the air quality category.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *color;
Swift
var color: String? { get set }
-
Pollutant measurement converted to a standardized Air Quality Index value from
0
to500
.Declaration
Objective-C
@property (nonatomic) CGFloat aqi;
Swift
var aqi: CGFloat { get set }
-
Pollutant measurement in parts per billion.
Declaration
Objective-C
@property (nonatomic) CGFloat valuePPB;
Swift
var valuePPB: CGFloat { get set }
-
Pollutant measurement in parts per micrograms per cubic meter.
Declaration
Objective-C
@property (nonatomic) CGFloat valueUGM3;
Swift
var valueUGM3: CGFloat { get set }