Forecast
data class Forecast(val timestamp: Long, val createdAt: Long = System.currentTimeMillis(), val temperature: Temperature, val condition: String, val icon: WeatherIcon, val night: Boolean = false, val minTemp: Temperature? = null, val maxTemp: Temperature? = null, val pressure: Pressure? = null, val humidity: Int? = null, val windSpeed: WindSpeed? = null, val windDirection: Double? = null, val precipitation: Precipitation? = null, val rainProbability: Int? = null, val clouds: Int? = null, val location: String, val provider: String, val providerUrl: String? = null)
Constructors
Link copied to clipboard
constructor(timestamp: Long, createdAt: Long = System.currentTimeMillis(), temperature: Temperature, condition: String, icon: WeatherIcon, night: Boolean = false, minTemp: Temperature? = null, maxTemp: Temperature? = null, pressure: Pressure? = null, humidity: Int? = null, windSpeed: WindSpeed? = null, windDirection: Double? = null, precipitation: Precipitation? = null, rainProbability: Int? = null, clouds: Int? = null, location: String, provider: String, providerUrl: String? = null)
Properties
Link copied to clipboard
The weather icon
Link copied to clipboard
The maximum temperature
Link copied to clipboard
The minimum temperature
Link copied to clipboard
Precipitation
Link copied to clipboard
Url to the provider and more weather information
Link copied to clipboard
Rain probability in percent
Link copied to clipboard
The temperature
Link copied to clipboard
Wind direction in degrees