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