Weather Repository
Data repository for access of weather data for a single position. Both current and future data.
Constructors
Functions
Link copied to clipboard
abstract suspend fun getGustSpeed( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getPrecipitation( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getPrecipitationRate( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getRelativeHumidity( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getWeatherIcon( lat: Double, lon: Double, timeDelta: Int): String?
Content copied to clipboard
Get a weather icon for the specified location
Link copied to clipboard
abstract suspend fun getWindDirection( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard
abstract suspend fun getWindSpeed( lat: Double, lon: Double, timeDelta: Int = 0): Double?
Content copied to clipboard
Link copied to clipboard