mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
21 lines
630 B
C#
21 lines
630 B
C#
|
using MediaBrowser.Model.Weather;
|
|||
|
using System.Threading;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Weather
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Interface IWeatherProvider
|
|||
|
/// </summary>
|
|||
|
public interface IWeatherProvider
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets the weather info async.
|
|||
|
/// </summary>
|
|||
|
/// <param name="location">The location.</param>
|
|||
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|||
|
/// <returns>Task{WeatherInfo}.</returns>
|
|||
|
Task<WeatherInfo> GetWeatherInfoAsync(string location, CancellationToken cancellationToken);
|
|||
|
}
|
|||
|
}
|