Package-level declarations

Types

Link copied to clipboard
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)
Link copied to clipboard
Link copied to clipboard
value class Pressure

Pressure value. Use Double.hPa or Double.mbar to create a pressure value:

Link copied to clipboard

Temperature value. Use Double.C, Double.F or Double.K to create a temperature value:

Link copied to clipboard
Link copied to clipboard
sealed interface WeatherLocation
Link copied to clipboard
Link copied to clipboard
value class WindSpeed

Wind speed value. Use Double.m_s, Double.km_h or Double.mph to create a wind speed value:

Properties

Link copied to clipboard

Temperature in degrees Celsius

Link copied to clipboard

Temperature in degrees Fahrenheit

Link copied to clipboard

Pressure in hectopascal

Link copied to clipboard

Precipitation in inches

Link copied to clipboard

Temperature in Kelvin

Link copied to clipboard

Wind speed in kilometers per hour

Link copied to clipboard

Wind speed in meters per second

Link copied to clipboard

Pressure in millibar

Link copied to clipboard

Precipitation in millimeters

Link copied to clipboard

Wind speed in miles per hour