Genvid_UnsubscribeCommand()¶
-
GenvidStatus
Genvid_UnsubscribeCommand
(const char *id, GenvidCommandCallback callback, void *userData)¶ Unsubscribes from commands matching the specified
id
,callback
, anduserData
.Sending a NULL or empty
id
will match any id.Sending a NULL
callback
will match any callback.Sending a NULL
userData
will match any userData.The above rules enable unsubscribing from multiple subscriptions in the same call.
The call is asynchronous.
It returns one of the following values:
GenvidStatus_UninitializedSDK: The Genvid library was not initialized before calling it.
GenvidStatus_InvalidState: The asynchronous handler was not initialized.
GenvidStatus_InvalidParameter: One of the parameters is invalid.
See Genvid_SubscribeCommand() for more information.