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 IImageProvider
{
///
/// Gets the name.
///
/// The name.
string Name { get; }
///
/// Supportses the specified item.
///
/// The item.
/// Type of the image.
/// true if XXXX, false otherwise
bool Supports(BaseItem item, ImageType imageType);
///
/// Gets the available images.
///
/// The item.
/// Type of the image.
/// The cancellation token.
/// Task{IEnumerable{RemoteImageInfo}}.
Task> GetAvailableImages(BaseItem item, ImageType imageType, CancellationToken cancellationToken);
}
}