Interface IAimpServiceAlbumArt
Service provides an ability to get album art for specified file or/and album. AlbumArt search process will run in separate thread, and plugin will receive a notification about the end of operation via callback function. Implements the IAimpAlbumArtSearchOptions Implements the IAimpService
Inherited Members
Namespace: AIMP.SDK.AlbumArtManager
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpServiceAlbumArt : IAimpAlbumArtSearchOptions, IAimpService
Methods
Cancel(Int32, AimpFindCovertArtType)
Cancels the get cover art request by specified task identifier.
Declaration
AimpActionResult Cancel(int taskId, AimpFindCovertArtType flags)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | taskId | The task identifier. |
AimpFindCovertArtType | flags | The flags. |
Get(String, String, String, AimpFindCovertArtType, Object)
Gets the image.
Declaration
AimpActionResult<int> Get(string fileUrl, string artist, string album, AimpFindCovertArtType flags, object userData)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileUrl | The file URL. |
System.String | artist | Optional. The artist. |
System.String | album | Optional. The album. |
AimpFindCovertArtType | flags | Optional. The AimpFindCovertArtType. |
System.Object | userData | The user data. |
Get2(IAimpFileInfo, AimpFindCovertArtType, Object)
Gets the image.
Declaration
AimpActionResult<int> Get2(IAimpFileInfo fileInfo, AimpFindCovertArtType flags, object userData)
Parameters
Type | Name | Description |
---|---|---|
IAimpFileInfo | fileInfo | The file information. |
AimpFindCovertArtType | flags | The flags. |
System.Object | userData | The user data. |
Events
Completed
Occurs when search was completed.
Declaration
event EventHandler<AimpGetAlbumArtEventArgs> Completed
Event Type
Type | Description |
---|---|
System.EventHandler<AimpGetAlbumArtEventArgs> |