Interface IDynamicImageProvider
Namespace: MediaBrowser.Controller.Providers
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IDynamicImageProvider : IImageProvider
Methods
GetImage(BaseMetadataResult, ImageType, CancellationToken)
Gets the image.
Declaration
Task<DynamicImageResponse> GetImage(BaseMetadataResult itemResult, ImageType type, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Base |
itemResult | |
Image |
type | |
System. |
cancellationToken |
Returns
Type | Description |
---|---|
System. |
GetSupportedImages(BaseItem)
Gets the supported images.
Declaration
ImageType[] GetSupportedImages(BaseItem item)
Parameters
Type | Name | Description |
---|---|---|
Base |
item | The item. |
Returns
Type | Description |
---|---|
Image |