LocationForecastRepository

class LocationForecastRepository(endpoint: String) : WeatherRepository

Implementation of Weather using LocationForecast API. Provides no caching. Source of truth: LocationForecast API.

Constructors

Link copied to clipboard
fun LocationForecastRepository(endpoint: String)

Functions

Link copied to clipboard
open suspend override fun getGustSpeed(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getPrecipitation(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getPrecipitationRate(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getRelativeHumidity(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getTemp(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getWeatherIcon(    lat: Double,     lon: Double,     timeDelta: Int): String?
Link copied to clipboard
open suspend override fun getWindDirection(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun getWindSpeed(    lat: Double,     lon: Double,     timeDelta: Int): Double?
Link copied to clipboard
open suspend override fun radarCoverage(lat: Double, lon: Double): Boolean