The LaunchDarkly mobile key.
Enable / disable Auto environment attributes. When enabled, the SDK will automatically provide data about the mobile environment where the application is running. To learn more, read Automatic environment attributes. for more documentation.
LDOptions to initialize the client with.
Private Optional _connectionPrivate Optional _stateReadonly autoProtected dataProtected Optional Readonly dataProtected emitterProtected Readonly environmentProtected Optional initProtected Optional initialProtected Optional initializeProtected Optional initializedProtected Readonly isFDv2Readonly loggerReadonly platformReadonly sdkProtected Optional startGets the SDK connection mode.
Gets the SDK connection mode.
When the FDv2 data system is enabled (dataSystem option), the connection
mode may also be 'one-shot' or 'background'.
This overload is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature please join the EAP. https://launchdarkly.com/docs/sdk/features/data-saving-mode
Protected getOptional identifyOptions: LDIdentifyOptionsOptional Optional identifyOptions: LDIdentifyOptionsOptional Protected maybeRest ...args: any[]Rest Rest ...args: any[]Rest Protected presetProtected sendSets the SDK connection mode.
The connection mode to use ('streaming', 'polling', or 'offline').
Sets the connection mode for the FDv2 data system.
When the FDv2 data system is enabled (dataSystem option), this method
additionally accepts 'one-shot' and 'background' modes. Pass
undefined to clear an explicit override and return to automatic mode
selection.
This overload is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is in early access. If you want access to this feature please join the EAP. https://launchdarkly.com/docs/sdk/features/data-saving-mode
Optional mode: FDv2ConnectionModeThe connection mode to use, or undefined to clear the
override (FDv2 only).
Optional Protected setOptional options: LDStartOptionsOptional Optional options: LDWaitForInitializationOptionsOptional Generated using TypeDoc
Creates an instance of the LaunchDarkly client.