Class: Toybox.Weather.CurrentConditions
- Inherits:
-
Toybox.Lang.Object
Overview
Represents the most recently cached weather conditions.
Instance Member Summary collapse
-
cloudCover as Lang.Number or Null
The cloud cover [0-100%].
-
condition as Lang.Number or Null
The current weather condition.
-
dewPoint as Lang.Float or Null
The dew point in Celsius.
-
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
deprecated
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%].
-
pressure as Lang.Float or Null
The air pressure in Pascals (Pa).
-
relativeHumidity as Lang.Number or Null
The relative humidity [0-100%].
-
temperature as Lang.Numeric or Null
The current temperature in Celsius.
-
uvIndex as Lang.Float or Null
The UV index [0-10].
-
visibility as Lang.Float or Null
The visibility distance in meters.
-
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 cloudCover as Lang.Number or Null
The cloud cover [0-100%]
var condition as Lang.Number or Null
The current weather condition
var dewPoint as Lang.Float or Null
The dew point in Celsius
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
This value may be removed after System 11.
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 pressure as Lang.Float or Null
The air pressure in Pascals (Pa)
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 uvIndex as Lang.Float or Null
The UV index [0-10]
var visibility as Lang.Float or Null
The visibility distance in meters
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