Go to the source code of this file.
|
typedef void(* | FlagChangedCallbackFn) (char const *flag_key, LDValue new_value, LDValue old_value, bool deleted, void *user_data) |
|
◆ LDFlagListener_Init()
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.
- Parameters
-
listener | Listener to initialize. |