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 |
|---|---|---|
| BaseMetadataResult | itemResult | |
| ImageType | type | |
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DynamicImageResponse> |
GetSupportedImages(BaseItem)
Gets the supported images.
Declaration
ImageType[] GetSupportedImages(BaseItem item)
Parameters
| Type | Name | Description |
|---|---|---|
| BaseItem | item | The item. |
Returns
| Type | Description |
|---|---|
| ImageType[] |