Interface IAimpServiceMusicLibrary
Provides an access to data storages of Music Library. Implements the IAimpService
Inherited Members
Namespace: AIMP.SDK.MusicLibrary
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpServiceMusicLibrary : IAimpService
Methods
GetActiveGroupingPresets()
Gets the active grouping preset.
Declaration
AimpActionResult<IAimpGroupingPresets> GetActiveGroupingPresets()
GetActiveStorage()
Gets the active data storage.
Declaration
AimpActionResult<IAimpDataStorage> GetActiveStorage()
GetGroupingPresets(Int32)
Gets the grouping preset by index.
Declaration
AimpActionResult<IAimpGroupingPresets> GetGroupingPresets(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
GetGroupingPresetsById(String)
Gets the grouping preset by identifier.
Declaration
AimpActionResult<IAimpGroupingPresets> GetGroupingPresetsById(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier. |
GetStorage(Int32)
Gets the data storage by index.
Declaration
AimpActionResult<IAimpDataStorage> GetStorage(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
GetStorageById(String)
Gets the data storage by identifier.
Declaration
AimpActionResult<IAimpDataStorage> GetStorageById(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier. |
GetStorageCount()
Gets the storage count.
Declaration
int GetStorageCount()
SetActiveStorage(IAimpDataStorage)
Sets the active data storage.
Declaration
AimpActionResult SetActiveStorage(IAimpDataStorage storage)
Parameters
Type | Name | Description |
---|---|---|
IAimpDataStorage | storage | The data storage. |
SetActiveStorage(IAimpGroupingPresets)
Sets the active storage.
Declaration
AimpActionResult SetActiveStorage(IAimpGroupingPresets preset)
Parameters
Type | Name | Description |
---|---|---|
IAimpGroupingPresets | preset | The grouping preset. |