WeatherConditionsMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class WeatherConditionsMessage : FitMessage
FIT Weather Conditions Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Weather Report
Declaration
Swift
@FitField private(set) public var report: WeatherReport? { get set }
-
Temperature
Declaration
Swift
@FitFieldDimension private(set) public var temperature: Measurement<UnitTemperature>? { get set }
-
Condition
Declaration
Swift
@FitField private(set) public var condition: WeatherStatus? { get set }
-
Wind Direction
Declaration
Swift
@FitFieldDimension private(set) public var windDirection: Measurement<UnitAngle>? { get set }
-
Wind Speed
Declaration
Swift
@FitFieldDimension private(set) public var windSpeed: Measurement<UnitSpeed>? { get set }
-
Precipitation Probability
Note
0 - 100Declaration
Swift
@FitField private(set) public var precipitationProbability: UInt8? { get set }
-
Feels Like Temperature
Heat Index if GCS heat index above or equal to 90F or wind chill if GCS windChill below or equal to 32F
Declaration
Swift
@FitFieldDimension private(set) public var feelsLikeTemperature: Measurement<UnitTemperature>? { get set }
-
Relative Humidity
Declaration
Swift
@FitField private(set) public var relativeHumidity: UInt8? { get set }
-
Location
Declaration
Swift
@FitField private(set) public var location: String? { get set }
-
Observed Time
Declaration
Swift
@FitFieldTime private(set) public var observedTime: FitTime? { get set }
-
Observed Location
Declaration
Swift
private(set) public var observedLocation: Position? { get set }
-
Day of Week
Declaration
Swift
@FitField private(set) public var dayOfWeek: DayOfWeek? { get set }
-
High Temperature
Declaration
Swift
@FitFieldDimension private(set) public var highTemperature: Measurement<UnitTemperature>? { get set }
-
Low Temperature
Declaration
Swift
@FitFieldDimension private(set) public var lowTemperature: Measurement<UnitTemperature>? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
report: temperature: condition: windDirection: windSpeed: precipitationProbability: feelsLikeTemperature: relativeHumidity: location: observedTime: observedLocation: dayOfWeek: highTemperature: lowTemperature: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, report: WeatherReport? = nil, temperature: Measurement<UnitTemperature>? = nil, condition: WeatherStatus? = nil, windDirection: Measurement<UnitAngle>? = nil, windSpeed: Measurement<UnitSpeed>? = nil, precipitationProbability: UInt8? = nil, feelsLikeTemperature: Measurement<UnitTemperature>? = nil, relativeHumidity: UInt8? = nil, location: String? = nil, observedTime: FitTime? = nil, observedLocation: Position? = nil, dayOfWeek: DayOfWeek? = nil, highTemperature: Measurement<UnitTemperature>? = nil, lowTemperature: Measurement<UnitTemperature>? = nil)