Class: Toybox.Weather.CurrentConditions

Overview

Represents the most recently cached weather conditions.

Since:

API Level 3.2.0

Instance Member Summary collapse

Instance Attribute Details

var condition as Lang.Number or Null

The current weather condition

Since:

API Level 3.2.0

Returns:

var feelsLikeTemperature as Lang.Float or Null

The wind chill or heat index, in Celsius

Since:

API Level 3.2.0

Returns:

var highTemperature as Lang.Numeric or Null

The forecasted high temperature for the day in Celsius

Since:

API Level 3.2.0

Returns:

var lowTemperature as Lang.Numeric or Null

The forecasted low temperature for the day in Celsius

Since:

API Level 3.2.0

Returns:

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.

Since:

API Level 3.2.0

Returns:

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.

Since:

API Level 3.2.0

Returns:

var observationTime as Time.Moment or Null

UTC time the conditions were observed

Since:

API Level 3.2.0

Returns:

var precipitationChance as Lang.Number or Null

The chance of precipitation [0-100%]

Since:

API Level 3.2.0

Returns:

var relativeHumidity as Lang.Number or Null

The relative humidity [0-100%]

Since:

API Level 3.2.0

Returns:

var temperature as Lang.Numeric or Null

The current temperature in Celsius

Since:

API Level 3.2.0

Returns:

var windBearing as Lang.Number or Null

The wind bearing in degrees. North = 0, East = 90, South = 180, West = 270

Since:

API Level 3.2.0

Returns:

var windSpeed as Lang.Float or Null

The current wind speed in meters per second

Since:

API Level 3.2.0

Returns:


Generated Sep 23, 2024, 3:32:50 PM