An opaque TestData object. More...
#include <test_data.h>
An opaque TestData object.
A mechanism for providing dynamically updatable feature flag state in a simplified form to an SDK client in test scenarios.
Unlike FileData, this mechanism does not use any external resources. It provides only the data that the application has put into it using LDTestDataUpdate.
The above example uses a simple boolean flag, but more complex configurations are possible using the methods of the LDFlagBuilder that is returned by LDTestDataFlag. LDFlagBuilder supports many of the ways a flag can be configured on the LaunchDarkly dashboard, but does not currently support
If the same LDTestData instance is used to configure multiple LDClient instances, any changes made to the data will propagate to all of the LDClients.