ConnectionMode enum
The connection mode for the SDK to use.
Can be used to configure the initial connection mode used by the SDK.
Constructors
- ConnectionMode()
-
const
Values
- offline → const ConnectionMode
-
The SDK will not receive updates from LaunchDarkly. To configure the SDK to not make network connections use LDConfig.offline instead.
- streaming → const ConnectionMode
-
The SDK will use a streaming connection to receive updates from LaunchDarkly.
- polling → const ConnectionMode
-
The SDK will make periodic requests to receive updates from LaunchDarkly.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ConnectionMode> - A constant List of the values in this enum, in order of their declaration.