Class: Toybox.Weather.CurrentConditions
- Inherits:
-
Toybox.Lang.Object
Overview
Represents the most recently cached weather conditions.
Instance Member Summary collapse
-
condition as Lang.Number or Null
The current weather condition.
-
feelsLikeTemperature as Lang.Float or Null
The wind chill or heat index, in Celsius.
-
highTemperature as Lang.Numeric or Null
The forecasted high temperature for the day in Celsius.
-
lowTemperature as Lang.Numeric or Null
The forecasted low temperature for the day in Celsius.
-
observationLocationName as Lang.String or Null
Textual description of the observation location.
-
observationLocationPosition as Position.Location or Null
Location where the conditions were observed.
-
observationTime as Time.Moment or Null
UTC time the conditions were observed.
-
precipitationChance as Lang.Number or Null
The chance of precipitation [0-100%].
-
relativeHumidity as Lang.Number or Null
The relative humidity [0-100%].
-
temperature as Lang.Numeric or Null
The current temperature in Celsius.
-
windBearing as Lang.Number or Null
The wind bearing in degrees.
-
windSpeed as Lang.Float or Null
The current wind speed in meters per second.
Instance Attribute Details
var condition as Lang.Number or Null
The current weather condition
var feelsLikeTemperature as Lang.Float or Null
The wind chill or heat index, in Celsius
var highTemperature as Lang.Numeric or Null
The forecasted high temperature for the day in Celsius
var lowTemperature as Lang.Numeric or Null
The forecasted low temperature for the day in Celsius
var observationLocationName as Lang.String or Null
Textual description of the observation location.
If the app does not have the position permission or the underlying weather
provider does not provide a location name, this will be null
.
var observationLocationPosition as Position.Location or Null
Location where the conditions were observed.
If the app does not have the position permission then this will be null
.
var observationTime as Time.Moment or Null
UTC time the conditions were observed
var precipitationChance as Lang.Number or Null
The chance of precipitation [0-100%]
var relativeHumidity as Lang.Number or Null
The relative humidity [0-100%]
var temperature as Lang.Numeric or Null
The current temperature in Celsius
var windBearing as Lang.Number or Null
The wind bearing in degrees. North = 0, East = 90, South = 180, West = 270
var windSpeed as Lang.Float or Null
The current wind speed in meters per second