C++ Client-Side SDK
LaunchDarkly SDK
Public Attributes | List of all members
LDDataSourceStatusListener Struct Reference

#include <sdk.h>

Public Attributes

DataSourceStatusCallbackFn StatusChanged
 
void * UserData
 

Detailed Description

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.

Member Data Documentation

◆ StatusChanged

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).

Parameters
statusThe updated data source status.

◆ UserData

void* LDDataSourceStatusListener::UserData

UserData is forwarded into callback functions.


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