using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Providers
{
public interface IDynamicImageProvider : IImageProvider
{
///
/// Gets the supported images.
///
/// The item.
/// IEnumerable{ImageType}.
IEnumerable GetSupportedImages(IHasMetadata item);
///
/// Gets the image.
///
/// The item.
/// The type.
/// The cancellation token.
/// Task{DynamicImageResponse}.
Task GetImage(IHasMetadata item, ImageType type, CancellationToken cancellationToken);
}
}