LDConnectionState enum Null safety
Enumerated type defining the possible connection states for the SDK.
Constants
- BACKGROUND_DISABLED → const LDConnectionState
-
Indicates that the SDK is currently in the background, but background polling is disabled.
const LDConnectionState(3)
- BACKGROUND_POLLING → const LDConnectionState
-
Indicates that the SDK is currently in a background polling mode.
const LDConnectionState(2)
- OFFLINE → const LDConnectionState
-
Indicates that the SDK has detected that network connectivity is unavailable, and will not make network requests until the network is available again.
const LDConnectionState(4)
- POLLING → const LDConnectionState
-
Indicates that the SDK is currently in a foreground polling mode.
const LDConnectionState(1)
- SET_OFFLINE → const LDConnectionState
-
Indicates that the SDK has been set offline by LDConfigBuilder.offline or LDClient.setOnline.
const LDConnectionState(5)
- SHUTDOWN → const LDConnectionState
-
Indicates that the SDK has been explicitly shut down by calling LDClient.close.
const LDConnectionState(6)
- STREAMING → const LDConnectionState
-
Indicates that the SDK is currently in a foreground streaming mode.
const LDConnectionState(0)
-
values
→ const List<
LDConnectionState> -
A constant List of the values in this enum, in order of their declaration.
const List<
LDConnectionState>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited