Drone3D-Team/Drone3D

View on GitHub
app/src/main/java/ch/epfl/sdp/drone3d/service/api/weather/WeatherService.kt

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
/*
 * Copyright (C) 2021  Drone3D-Team
 * The license can be found in LICENSE at root of the repository
 */

package ch.epfl.sdp.drone3d.service.api.weather

import androidx.lifecycle.LiveData
import ch.epfl.sdp.drone3d.model.weather.WeatherReport
import com.mapbox.mapboxsdk.geometry.LatLng

/**
 * This interface represents a service that enables you to get weather report for a specific
 * location.
 */
interface WeatherService {

    /**
     * Return the WeatherReport of the given [location]
     */
    fun getWeatherReport(location: LatLng): LiveData<WeatherReport>
}