C++ Client-Side SDK
LaunchDarkly SDK
|
#include <sdk.h>
Public Attributes | |
DataSourceStatusCallbackFn | StatusChanged |
void * | UserData |
Defines a data source status listener which may be used to listen for changes to the data source status. The struct should be initialized using LDDataSourceStatusListener_Init before use.
DataSourceStatusCallbackFn LDDataSourceStatusListener::StatusChanged |
Callback function which is invoked for data source status changes.
The provided pointers are only valid for the duration of the function call (excluding UserData, whose lifetime is controlled by the caller).
status | The updated data source status. |
void* LDDataSourceStatusListener::UserData |
UserData is forwarded into callback functions.