AWS IoT Device SDK C: Shadow
AWS IoT Device Shadow library
Return to main page ↑
AwsIotShadowCallbackInfo_t Struct Reference

Information on a user-provided Shadow callback function. More...

#include <aws_iot_shadow_types.h>

Data Fields

void * pCallbackContext
 The first parameter to pass to the callback function.
 
void(* function )(void *pCallbackContext, AwsIotShadowCallbackParam_t *pCallbackParam)
 User-provided callback function signature. More...
 

Detailed Description

Information on a user-provided Shadow callback function.

Parameter for: AwsIotShadow_DeleteAsync, AwsIotShadow_GetAsync, AwsIotShadow_UpdateAsync, AwsIotShadow_SetDeltaCallback, AwsIotShadow_SetUpdatedCallback

Provides a function to be invoked when a Shadow operation completes or when a Shadow document is received on a callback topic (delta or updated).

All instances of AwsIotShadowCallbackInfo_t should be initialized with AWS_IOT_SHADOW_CALLBACK_INFO_INITIALIZER.

Field Documentation

◆ function

void( * AwsIotShadowCallbackInfo_t::function) (void *pCallbackContext, AwsIotShadowCallbackParam_t *pCallbackParam)

User-provided callback function signature.

Parameters
[in]pCallbackContextAwsIotShadowCallbackInfo_t.pCallbackContext
[in]pCallbackParamDetails on the outcome of the Shadow operation or an incoming Shadow document.
See also
AwsIotShadowCallbackParam_t for more information on the second parameter.

The documentation for this struct was generated from the following file: