Contains information about the current weather
@since RPC 5.1
Convenience init for all parameters
- (nonnull instancetype)
initWithCurrentTemperature:(nullable SDLTemperature *)currentTemperature
temperatureHigh:(nullable SDLTemperature *)temperatureHigh
temperatureLow:(nullable SDLTemperature *)temperatureLow
apparentTemperature:(nullable SDLTemperature *)apparentTemperature
apparentTemperatureHigh:
(nullable SDLTemperature *)apparentTemperatureHigh
apparentTemperatureLow:(nullable SDLTemperature *)apparentTemperatureLow
weatherSummary:(nullable NSString *)weatherSummary
time:(nullable SDLDateTime *)time
humidity:(nullable NSNumber<SDLFloat> *)humidity
cloudCover:(nullable NSNumber<SDLFloat> *)cloudCover
moonPhase:(nullable NSNumber<SDLFloat> *)moonPhase
windBearing:(nullable NSNumber<SDLInt> *)windBearing
windGust:(nullable NSNumber<SDLFloat> *)windGust
windSpeed:(nullable NSNumber<SDLFloat> *)windSpeed
nearestStormBearing:(nullable NSNumber<SDLInt> *)nearestStormBearing
nearestStormDistance:(nullable NSNumber<SDLInt> *)nearestStormDistance
precipAccumulation:(nullable NSNumber<SDLFloat> *)precipAccumulation
precipIntensity:(nullable NSNumber<SDLFloat> *)precipIntensity
precipProbability:(nullable NSNumber<SDLFloat> *)precipProbability
precipType:(nullable NSString *)precipType
visibility:(nullable NSNumber<SDLFloat> *)visibility
weatherIcon:(nullable SDLImage *)weatherIcon;
init(currentTemperature: SDLTemperature?, temperatureHigh: SDLTemperature?, temperatureLow: SDLTemperature?, apparentTemperature: SDLTemperature?, apparentTemperatureHigh: SDLTemperature?, apparentTemperatureLow: SDLTemperature?, weatherSummary: String?, time: SDLDateTime?, humidity: (NSNumber & SDLFloat)?, cloudCover: (NSNumber & SDLFloat)?, moonPhase: (NSNumber & SDLFloat)?, windBearing: (NSNumber & SDLInt)?, windGust: (NSNumber & SDLFloat)?, windSpeed: (NSNumber & SDLFloat)?, nearestStormBearing: (NSNumber & SDLInt)?, nearestStormDistance: (NSNumber & SDLInt)?, precipAccumulation: (NSNumber & SDLFloat)?, precipIntensity: (NSNumber & SDLFloat)?, precipProbability: (NSNumber & SDLFloat)?, precipType: String?, visibility: (NSNumber & SDLFloat)?, weatherIcon: SDLImage?)
The current temperature
The predicted high temperature for the day
The predicted low temperature for the day
The apparent temperature
The predicted high apparent temperature for the day
The predicted low apparent temperature for the day
A summary of the weather
The time this data refers to
From 0 to 1, percentage humidity
From 0 to 1, percentage cloud cover
From 0 to 1, percentage of the moon seen, e.g. 0 = no moon, 0.25 = quarter moon
In degrees, true north at 0 degrees
In km/hr
In km/hr
In degrees, true north at 0 degrees
In km
In cm
In cm of water per hour
From 0 to 1, percentage chance
A description of the precipitation type (e.g. “rain”, “snow”, “sleet”, “hail”)
In km
The weather icon image
A SDLWeatherData object
The current temperature.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *currentTemperature;
var currentTemperature: SDLTemperature? { get set }
The predicted high temperature for the day.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *temperatureHigh;
var temperatureHigh: SDLTemperature? { get set }
The predicted low temperature for the day.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *temperatureLow;
var temperatureLow: SDLTemperature? { get set }
The apparent temperature.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *apparentTemperature;
var apparentTemperature: SDLTemperature? { get set }
The predicted high apparent temperature for the day.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *apparentTemperatureHigh;
var apparentTemperatureHigh: SDLTemperature? { get set }
The predicted low apparent temperature for the day.
SDLTemperature, Optional
@property (nonatomic, strong, nullable) SDLTemperature *apparentTemperatureLow;
var apparentTemperatureLow: SDLTemperature? { get set }
A summary of the weather.
String, Optional
@property (nonatomic, strong, nullable) NSString *weatherSummary;
var weatherSummary: String? { get set }
The time this data refers to.
SDLDateTime, Optional
@property (nonatomic, strong, nullable) SDLDateTime *time;
var time: SDLDateTime? { get set }
From 0 to 1, percentage humidity.
Float, Optional, minvalue=“0” maxvalue=“1”
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *humidity;
var humidity: (NSNumber & SDLFloat)? { get set }
From 0 to 1, percentage cloud cover.
Float, Optional, minvalue=“0” maxvalue=“1”
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *cloudCover;
var cloudCover: (NSNumber & SDLFloat)? { get set }
From 0 to 1, percentage of the moon seen, e.g. 0 = no moon, 0.25 = quarter moon
Float, Optional, minvalue=“0” maxvalue=“1”
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *moonPhase;
var moonPhase: (NSNumber & SDLFloat)? { get set }
In degrees, true north at 0 degrees.
Integer, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *windBearing;
var windBearing: (NSNumber & SDLInt)? { get set }
In km/hr
Float, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *windGust;
var windGust: (NSNumber & SDLFloat)? { get set }
In km/hr
Float, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *windSpeed;
var windSpeed: (NSNumber & SDLFloat)? { get set }
In degrees, true north at 0 degrees.
Integer, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *nearestStormBearing;
var nearestStormBearing: (NSNumber & SDLInt)? { get set }
In km
Integer, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *nearestStormDistance;
var nearestStormDistance: (NSNumber & SDLInt)? { get set }
In cm
Float, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *precipAccumulation;
var precipAccumulation: (NSNumber & SDLFloat)? { get set }
In cm of water per hour.
Float, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *precipIntensity;
var precipIntensity: (NSNumber & SDLFloat)? { get set }
From 0 to 1, percentage chance.
Float, Optional, minvalue=“0” maxvalue=“1”
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *precipProbability;
var precipProbability: (NSNumber & SDLFloat)? { get set }
A description of the precipitation type (e.g. “rain”, “snow”, “sleet”, “hail”)
String, Optional
@property (nonatomic, strong, nullable) NSString *precipType;
var precipType: String? { get set }
In km
Float, Optional
@property (nonatomic, strong, nullable) NSNumber<SDLFloat> *visibility;
var visibility: (NSNumber & SDLFloat)? { get set }
The weather icon image.
SDLImage, Optional
@property (nonatomic, strong, nullable) SDLImage *weatherIcon;
var weatherIcon: SDLImage? { get set }