LDConfigBuilder class

A builder for LDConfig.

Constructors

LDConfigBuilder(String mobileKey)
Create a new LDConfigBuilder for the given mobile key.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build() LDConfig
Create an LDConfig from the current configuration of the builder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setAllAttributesPrivate(bool allAttributesPrivate) LDConfigBuilder
Configures the SDK to never include optional attribute values in analytics events.
setBackgroundPollingIntervalMillis(int backgroundPollingIntervalMillis) LDConfigBuilder
Sets the interval between background flag poll requests. [...]
setBaseUri(String baseUri) LDConfigBuilder
Sets the URI for polling requests.
setConnectionTimeoutMillis(int connectionTimeoutMillis) LDConfigBuilder
Sets the connection timeout for network requests.
setDiagnosticOptOut(bool diagnosticOptOut) LDConfigBuilder
Set to true to opt out of sending diagnostics data. [...]
setDiagnosticRecordingIntervalMillis(int diagnosticRecordingIntervalMillis) LDConfigBuilder
Set the interval at which periodic diagnostic data is sent. [...]
setDisableBackgroundUpdating(bool disableBackgroundUpdating) LDConfigBuilder
Disables or enables background polling requests for flag values. [...]
setEvaluationReasons(bool evaluationReasons) LDConfigBuilder
Configure whether the SDK will request evaluation reasons to be included in flag data from the service. [...]
setEventsCapacity(int eventsCapacity) LDConfigBuilder
Set the capacity of the event buffer. [...]
setEventsFlushIntervalMillis(int eventsFlushIntervalMillis) LDConfigBuilder
Sets the maximum amount of time in between sending analytics events to LaunchDarkly.
setEventsUri(String eventsUri) LDConfigBuilder
Sets the URI for eventing requests.
setInlineUsersInEvents(bool inlineUsersInEvents) LDConfigBuilder
Sets whether the SDK will send the entire LDUser object to the service in every event. [...]
setOffline(bool offline) LDConfigBuilder
Disables or enables network calls from the LaunchDarkly client. [...]
setPollingIntervalMillis(int pollingIntervalMillis) LDConfigBuilder
Sets the interval between foreground flag poll requests. [...]
setPrivateAttributeNames(Set<String> privateAttributeNames) LDConfigBuilder
Sets a Set of private attributes to never include the values for in analytics events.
setStream(bool stream) LDConfigBuilder
Enables or disables real-time streaming flag updates. [...]
setStreamUri(String streamUri) LDConfigBuilder
Sets the URI for stream requests.
setUseReport(bool useReport) LDConfigBuilder
Configure whether the SDK should use the HTTP REPORT verb for flag requests. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited