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 aGenvidCommandResult
structure.The
userData
parameter matches whatever value was set when subscribing (seeGenvid_SubscribeCommand()
).Any memory held by
result
will be invalidated when the callback returns.