Genvid_Unsubscribe()¶
-
GenvidStatus
Genvid_Unsubscribe
(const char *id, GenvidEventSummaryCallback callback, void *userData)¶ Unsubscribes to 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 allow to unsubscribe from multiple subscriptions in the same call.
The call is asynchronous, it will return one of the following values :
GenvidStatus_UninitializedSDK : The Genvid library was not initialised before calling it.
GenvidStatus_InvalidState : The asynchronous handler was not initialised.
GenvidStatus_InvalidParameter : One of the parameters is invalid.
See Genvid_Subscribe().