Interface IAimpServiceSynchronizer
This service provides an ability to run specified task in main thread of the application.
Implements the IAimp
Inherited Members
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 |
---|---|---|
IAimp |
task | The task. |
System. |
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. |