Interface IRemoteImageProvider
Interface IImageProvider
Namespace: MediaBrowser.Controller.Providers
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IRemoteImageProvider : IImageProvider
Methods
GetImageResponse(String, CancellationToken)
Gets the image response.
Declaration
Task<HttpResponseInfo> GetImageResponse(string url, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The URL. |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HttpResponseInfo> | Task{HttpResponseInfo}. |
GetImages(BaseItem, LibraryOptions, CancellationToken)
Gets the images.
Declaration
Task<IEnumerable<RemoteImageInfo>> GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | |
LibraryOptions | libraryOptions | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<RemoteImageInfo>> |
GetSupportedImages(BaseItem)
Gets the supported images.
Declaration
IEnumerable<ImageType> GetSupportedImages(BaseItem item)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | The item. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ImageType> | IEnumerable{ImageType}. |