GenvidCommandCallback

typedef GenvidCommandCallback

A callback invoked when a command is ready.

Any memory held by result will be invalidated when the callback returns.

Parameters
  • const GenvidCommandResult* result: The command’s content in a GenvidCommandResult structure.
  • void* userData: The userData that was set when subscribing (see Genvid_SubscribeCommand).