using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Providers;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Providers
{
///
/// Interface IImageProvider
///
public interface IRemoteImageProvider : IImageProvider
{
///
/// Gets the supported images.
///
/// The item.
/// IEnumerable{ImageType}.
IEnumerable GetSupportedImages(IHasMetadata item);
///
/// Gets the images.
///
/// The item.
/// The cancellation token.
/// Task{IEnumerable{RemoteImageInfo}}.
Task> GetImages(IHasMetadata item, CancellationToken cancellationToken);
///
/// Gets the image response.
///
/// The URL.
/// The cancellation token.
/// Task{HttpResponseInfo}.
Task GetImageResponse(string url, CancellationToken cancellationToken);
}
}