C++ Client-Side SDK
LaunchDarkly SDK
|
Go to the source code of this file.
Classes | |
struct | LDFlagListener |
Typedefs | |
typedef void(* | FlagChangedCallbackFn) (char const *flag_key, LDValue new_value, LDValue old_value, bool deleted, void *user_data) |
Functions | |
LDFlagListener_Init (struct LDFlagListener *listener) | |
LDFlagListener_Init | ( | struct LDFlagListener * | listener | ) |
Initializes a flag listener. Must be called before passing the listener to LDClientSDK_FlagNotifier_OnFlagChange.
Create the struct, initialize the struct, set the FlagChanged handler and optionally UserData, and then pass the struct to LDClientSDK_FlagNotifier_OnFlagChange.
listener | Listener to initialize. |