Types of weather returned by UserContextSystem's requestWeatherCondition() callback.

var userContextSystem = global.userContextSystem;

userContextSystem.requestWeatherCondition(function(weather) {
if (weather == WeatherCondition.Sunny) {
print("It's a sunny day!");
}
});

Enumeration Members

ClearNight: number

Clear Night

Cloudy: number

Cloudy

Hail: number

Hail

Lightning: number

Lightning

LowVisibility: number

Low Visibility

PartlyCloudy: number

Partly Cloudy

Rainy: number

Rainy

Snow: number

Snow

Sunny: number

Sunny

Unknown: number

Unknown or unsupported weather condition

Windy: number

Windy