Interface IAimpDataStorageManager
Uses for notify library about changes at data storage.
Instance of interface creates by music library manager and put to plugin via the Initialize(IAimpDataStorageManager) method.
Namespace: AIMP.SDK.MusicLibrary
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpDataStorageManager
Methods
BackgroundTaskFinished(Int32)
Notifies about the background task that has been finished.
Declaration
AimpActionResult BackgroundTaskFinished(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The identifier. |
BackgroundTaskStarted(Int32, String, IAimpActionEvent)
Notifies about the background task that has been started.
Declaration
AimpActionResult BackgroundTaskStarted(int id, string caption, IAimpActionEvent cancelEvent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The identifier. |
System.String | caption | The caption. |
IAimpActionEvent | cancelEvent | The cancel event. |
Changed()
Notifies the manager that data in data storage has been changed. This reloads the data in all views of Music Library and smart-playlists.
Declaration
void Changed()