CommandCallback¶
A callback invoked when a command is ready.
The parameter command
holds the command’s content in a
CommandResult structure.
The userData
parameter matches whatever value was set when subscribing
(see SubscribeCommand(String,CommandCallback,IntPtr)).
Any memory held by the CommandResult will be invalidated when the callback returns.
Parameters¶
- command : CommandResult : A CommandResult structure containing the command content.
- userData : IntPtr : IntPtr received that matches the value that was set during SubscribeCommand(String,CommandCallback,IntPtr).