Genvid_Unsubscribe()¶
-
GenvidStatus
Genvid_Unsubscribe
(const char *id, GenvidEventSummaryCallback callback, void *userData)¶ Unsubscribes from event channels 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_Subscribe() for more information.