WeatherRepository
class WeatherRepository(twcDataSource: TwcDataSource, weatherLocationRepository: WeatherLocationRepository, coroutineContext: CoroutineContext)
Constructors
Link copied to clipboard
constructor(twcDataSource: TwcDataSource, weatherLocationRepository: WeatherLocationRepository, coroutineContext: CoroutineContext)
Functions
Link copied to clipboard
suspend fun requestLocalWeatherNowWithForecast(unitOfMeasurement: UnitOfMeasurement, reason: WeatherRequestReason): Boolean
Link copied to clipboard
suspend fun requestWeatherNowWithForecast(point: Point, unitOfMeasurement: UnitOfMeasurement, reason: WeatherRequestReason): WeatherNowWithForecast?