Registers campaign callback functions.


int Iotc_RegisterCampaignCallbacks ( IotcSession * session, IotcCampaignCallbacks * cbs, void * userData )

in session

Is the connected session returned as part of Iotc_Init call.

in cbs

Is the campaign callback functions collection that is invoked by the IoTC Agent during state change, download progress, download, and so on.

in userData

Is any user context data that is returned when invoking callback functions.

0 on success.