Genvid_SubscribeCommand()¶
-
GenvidStatus
Genvid_SubscribeCommand
(const char *id, GenvidCommandCallback callback, void *userData)¶ Subscribes to the command whose is named
id
.The
callback
parameter specifies the function to call when commands are received.The
userData
is a generic user pointer that will be sent tocallback
when it is invoked.The call is synchronous.