Registers campaign callback functions.
- API
-
int Iotc_RegisterCampaignCallbacks ( IotcSession * session, IotcCampaignCallbacks * cbs, void * userData )
- Parameters
-
insessionIs the connected session returned as part of
Iotc_Init call.incbsIs the campaign callback functions collection that is invoked by the IoTC Agent during state change, download progress, download, and so on.
inuserDataIs any user context data that is returned when invoking callback functions.