• 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 IAimpServiceSynchronizer

This service provides an ability to run specified task in main thread of the application. Implements the IAimpService

Inherited Members
IAimpService.IsExists
Namespace: AIMP.SDK.Threading
Assembly: AIMP.SDK.dll
Syntax
[Obsolete("Use IAimpServiceThreads")]
public interface IAimpServiceSynchronizer : IAimpService

Methods

ExecuteInMainThread(IAimpTask, Boolean)

Executes the in main thread.

Declaration
AimpActionResult ExecuteInMainThread(IAimpTask task, bool executeNow)
Parameters
Type Name Description
IAimpTask task

The task.

System.Boolean executeNow

True - the method will not return control until operation has been completed (Not recommended). Otherwise, task will be queued and executed when main thread is idle. Default value is False.

See Also

IAimpService
In This Article
Back to top Generated by DocFX