GenvidCommandCallback

typedef void (*GenvidCommandCallback)(const GenvidCommandResult *result, void *userData)

A callback invoked when a command is ready.

The parameter result holds the command’s content in a GenvidCommandResult structure.

The userData parameter matches whatever value was set when subscribing (see Genvid_SubscribeCommand()).

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