Click or drag to resize

Configuration Class

Configuration options for LdClient.
Inheritance Hierarchy

Namespace:  LaunchDarkly.Xamarin
Assembly:  LaunchDarkly.XamarinSdk (in LaunchDarkly.XamarinSdk.dll) Version: 1.2.1
public sealed class Configuration

The Configuration type exposes the following members.

Public propertyAllAttributesPrivate
Whether or not user attributes (other than the key) should be private (not sent to the LaunchDarkly server).
Public propertyBackgroundPollingInterval
The interval between feature flag updates when the application is running in the background.
Public propertyBaseUri
The base URI of the LaunchDarkly server.
Public propertyConnectionTimeout
The connection timeout to the LaunchDarkly server.
Public propertyEnableBackgroundUpdating
Whether to enable feature flag updates when the application is running in the background.
Public propertyEvaluationReasons
True if LaunchDarkly should provide additional information about how flag values were calculated.
Public propertyEventCapacity
The capacity of the event buffer.
Public propertyEventFlushInterval
The time between flushes of the event buffer.
Public propertyEventsUri
The base URL of the LaunchDarkly analytics event server.
Public propertyHttpMessageHandler
The object to be used for sending HTTP requests, if a specific implementation is desired.
Public propertyInlineUsersInEvents
Sets whether to include full user details in every analytics event.
Public propertyIsStreamingEnabled
Whether or not the streaming API should be used to receive flag updates.
Public propertyMobileKey
The key for your LaunchDarkly environment.
Public propertyOffline
Whether or not this client is offline. If , no calls to LaunchDarkly will be made.
Public propertyPersistFlagValues
Whether the SDK should save flag values for each user in persistent storage, so they will be immediately available the next time the SDK is started for the same user.
Public propertyPollingInterval
The polling interval (when streaming is disabled).
Public propertyPrivateAttributeNames
Attribute names that have been marked as private for all users.
Public propertyReadTimeout
The timeout when reading data from the streaming connection.
Public propertyReconnectTime
The reconnect base time for the streaming connection.
Public propertyStreamUri
The base URL of the LaunchDarkly streaming server.
Public propertyUserKeysCapacity
The number of user keys that the event processor can remember at any one time.
Public propertyUserKeysFlushInterval
The interval at which the event processor will reset its set of known user keys.
Public methodStatic memberCode exampleBuilder(String)
Creates an IConfigurationBuilder for constructing a configuration object using a fluent syntax.
Public methodStatic memberBuilder(Configuration)
Creates an IConfigurationBuilder starting with the properties of an existing Configuration.
Public methodStatic memberDefault
Creates a configuration with all parameters set to the default.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public fieldStatic memberDefaultPollingInterval
Default value for PollingInterval.
Public fieldStatic memberMinimumPollingInterval
Minimum value for PollingInterval.
Instances of Configuration are immutable once created. They can be created with the factory method Default(String), or using a builder pattern with Builder(String) or Builder(Configuration).
See Also