• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Actions
    • IAimpAction
    • IAimpActionEvent
    • IAimpServiceActionManager
  • AlbumArt
    • IAimpServiceAlbumArtCache
    • IAimpAlbumArtSearchOptions
    • IAimpExtensionAlbumArtCatalog
    • IAimpExtensionAlbumArtCatalog2
    • AimpAlbumArtProviderCategory
    • IAimpExtensionAlbumArtProvider
    • IAimpExtensionAlbumArtProvider2
    • AimpFindCovertArtType
    • AimpGetAlbumArtEventArgs
    • IAimpServiceAlbumArt
  • Core
    • AimpActionException
    • AimpInternalLogger
    • Extensions
    • IAimpLogger
    • IAimpService
    • IAimpConfig
    • IAimpExternalSettingsDialog
    • AimpErrorArgs
    • IAimpObject
    • IAimpObjectList`1
    • IAimpObjectList
    • IAimpStream
    • ActionResultType
    • AimpActionResult
    • AimpActionResult`1
    • AimpActionResult`2
    • IAimpExtension
    • AimpPluginType
    • AimpPluginAttribute
    • AimpPlayerState
    • AimpWindowHandleTypes
    • AimpEventsDelegate
    • IAimpCore
    • IAimpPlugin
    • AimpPlugin
    • CustomAssemblyResolver
    • PluginLoadUnloadEvent
    • PluginInformation
    • DotNetPluginInfo
    • PluginShortInfoForLoad
    • PluginLoadingStrategy
    • AssemblyScanPluginLoadStrategy
    • PluginInfoLoader
    • AimpDotNetPlugin
  • File Manager
    • Extensions
      • IAimpExtensionFileExpander
      • FileFormatsCategoryTypes
      • IAimpExtensionFileFormat
      • IAimpExtensionFileInfoProvider
      • IAimpExtensionFileSystem
    • Commands
      • IAimpFileSystemCommand
      • IAimpFileSystemCommandCopyToClipboard
      • IAimpFileSystemCommandDelete
      • IAimpFileSystemCommandDropSource
      • IAimpFileSystemCommandFileInfo
      • IAimpFileSystemCommandOpenFileFolder
      • IAimpFileSystemCommandStreaming
      • IAimpFileSystemCustomFileCommand
    • FileCommandType
    • FileFormats
    • IAimpServiceFileFormats
    • ServiceFileInfoFlags
    • IAimpServiceFileInfo
    • IAimpServiceFileInfoFormatter
    • IAimpServiceFileInfoFormatterUtils
    • IAimpServiceFileManager
    • FileStreamingType
    • CeateStreamResult
    • IAimpServiceFileStreaming
    • IAimpServiceFileSystems
    • IAimpVirtualFile
    • AimpFileAttributes
    • IAimpFileInfo
  • Lyrics
    • LyricsProviderCategory
    • IAimpExtensionLyricsProvider
    • LyricsType
    • LyricsFormat
    • IAimpLyrics
    • LyricsFlags
    • AimpServiceLyricsReceive
    • IAimpServiceLyrics
  • Menu
    • MenuItemStyle
    • IAimpMenuItem
    • ParentMenuType
    • IAimpServiceMenuManager
  • Message Dispatcher
    • Constants
    • AimpCoreMessageType
    • AimpCorePathType
    • IAimpMessageHook
    • MessageDirectionType
    • IAimpServiceMessageDispatcher
  • Multi-Language UI
    • IAimpServiceMUI
  • Music Library
    • Presets
      • IAimpGroupingPreset
      • IAimpGroupingPresets
      • IAimpGroupingPresetStandard
    • Extension
      • Command
        • IAimpDataStorageCommandAddFiles
        • IAimpDataStorageCommandAddFilesDialog
        • IAimpDataStorageCommandDeleteFiles
        • IAimpDataStorageCommandDropData
        • IAimpDataStorageCommandReloadTags
        • IAimpDataStorageCommandReportDialog
        • IAimpDataStorageCommandUserMark
      • CapabilitiesType
      • SchemaType
      • GroupingPresetsSchemaType
      • IAimpExtensionDataStorage
    • DataStorage
      • AimpDataField
      • AimpDataFieldType
      • AimpDataFieldFlagsType
      • ImageType
      • IAimpDataField
      • IAimpDataFieldDisplayValue
      • IAimpDataStorage
      • CapabilitiesFlags
      • IAimpGroupingTreeDataProvider
      • GroupingTreeNodeFlags
      • FieldImageIndex
      • IAimpGroupingTreeDataProviderSelection
      • IAimpGroupingTreeSelection
      • IAimpDataProvider
    • DataFilter
      • FieldFilterOperationType
      • IAimpDataFieldFilter
      • IAimpDataFieldFilterByArray
      • FilterGroupOperationType
      • IAimpDataFilterGroup
    • SortDirectionType
    • IAimpDataFilter
    • IAimpDataProviderSelection
    • IAimpDataStorageManager
    • IAimpFileList
    • IAimpMusicLibraryPlaylistPreimage
    • IAimpServiceMusicLibrary
    • FilesType
    • IAimpServiceMusicLibraryUI
  • Options Dialog
    • IAimpOptionsDialogFrameKeyboardHelper
    • IAimpServiceOptionsDialog
    • OptionsDialogFrameNotificationType
    • IAimpOptionsDialogFrame
  • Player
    • IAimpPlayer
  • Playlists
    • IAimpPlayer
  • Tag Editor
    • IAimpFileTag
    • IAimpFileTagEditor
    • TagType
    • IAimpServiceFileTagEditor
  • Threading
    • IAimpServiceThreads
    • IAimpTask
    • IAimpTaskOwner
    • IAimpServiceSynchronizer
    • AimpServiceThreadPoolType
    • IAimpServiceThreadPool
    • AimpTaskPriority
    • IAimpTaskPriority
  • Visuals
    • AimpVisualData
    • AimpVisualFlags
    • IAimpExtensionCustomVisualization
    • AimpVisualClickButtonType
    • IAimpExtensionEmbeddedVisualization
    • IAimpServiceVisualizations

Interface IAimpGroupingPresets

Allow access to preset for data storage.

Namespace: AIMP.SDK.MusicLibrary.Presets
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpGroupingPresets

Methods

Add(String, String, IAimpGroupingTreeDataProvider)

Adds new grouping template with custom data provider IAimpGroupingTreeDataProvider.

Declaration
AimpActionResult<IAimpGroupingPreset> Add(string id, string name, IAimpGroupingTreeDataProvider provider)
Parameters
Type Name Description
System.String id

The identifier.

System.String name

Template name.

IAimpGroupingTreeDataProvider provider

Custom data provider IAimpGroupingTreeDataProvider.

Add(String, String, IList<String>)

Adds new grouping template with default data provider.

Declaration
AimpActionResult<IAimpGroupingPresetStandard> Add(string id, string name, IList<string> fieldNames)
Parameters
Type Name Description
System.String id

The identifier.

System.String name

Template name.

System.Collections.Generic.IList<System.String> fieldNames

The list of fields

Add(String, String, String)

Adds new grouping template with default data provider.

Declaration
AimpActionResult<IAimpGroupingPresetStandard> Add(string id, string name, string fieldName)
Parameters
Type Name Description
System.String id

The identifier.

System.String name

Template name.

System.String fieldName

The field name.

BeginUpdate()

Adds blocking on sending notifications during changes. Use it if you want to change multiple properties at the same time.

Declaration
void BeginUpdate()

Delete(Int32)

Removes a template by index.

Declaration
AimpActionResult Delete(int index)
Parameters
Type Name Description
System.Int32 index

Index.

EndUpdate()

Removes blocking on sending notifications.

Declaration
void EndUpdate()

GetCount()

Gets the count of presets.

Declaration
int GetCount()

GetPreset(Int32)

Gets the grouping preset by index.

Declaration
AimpActionResult<IAimpGroupingPreset> GetPreset(int index)
Parameters
Type Name Description
System.Int32 index

Index.

GetPresetById(String)

Gets the grouping preset by identifier.

Declaration
AimpActionResult<IAimpGroupingPreset> GetPresetById(string id)
Parameters
Type Name Description
System.String id

The identifier.

GetStandardPreset(Int32)

Gets the standard grouping preset by index.

Declaration
AimpActionResult<IAimpGroupingPresetStandard> GetStandardPreset(int index)
Parameters
Type Name Description
System.Int32 index

Index.

GetStandardPresetById(String)

Gets the standard grouping preset by identifier.

Declaration
AimpActionResult<IAimpGroupingPresetStandard> GetStandardPresetById(string id)
Parameters
Type Name Description
System.String id

The identifier.

In This Article
Back to top Generated by DocFX