Interface IAimpServiceMessageDispatcher
Provides an access to the messaging mechanism. Implements the IAimpService
Inherited Members
Namespace: AIMP.SDK.MessageDispatcher
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpServiceMessageDispatcher : IAimpService
Methods
Hook(IAimpMessageHook)
Setup the specified message hook.
Declaration
AimpActionResult Hook(IAimpMessageHook hook)
Parameters
Type | Name | Description |
---|---|---|
IAimpMessageHook | hook | The message hook. |
Register(String)
Registers the specified message.
Declaration
int Register(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
Send(AimpCoreMessageType, Int32, IntPtr)
Sends the specified message.
Declaration
AimpActionResult Send(AimpCoreMessageType message, int param1, IntPtr param2)
Parameters
Type | Name | Description |
---|---|---|
AimpCoreMessageType | message | The message AimpCoreMessageType. |
System.Int32 | param1 | The message direction MessageDirectionType. |
System.IntPtr | param2 | The param2. |
Unhook(IAimpMessageHook)
Unhooks the specified hook.
Declaration
AimpActionResult Unhook(IAimpMessageHook hook)
Parameters
Type | Name | Description |
---|---|---|
IAimpMessageHook | hook | The message hook. |