Input state used by the mode resolution table to determine the connection mode. The caller is responsible for computing the effective foregroundMode before consulting the table — for example, browser listener-driven streaming logic modifies foregroundMode externally.

Hierarchy

  • ModeState

Properties

backgroundMode: FDv2ConnectionMode

The effective background connection mode. This is the mode the SDK should use when in the background and online. Only meaningful on mobile platforms.

foregroundMode: FDv2ConnectionMode

The effective foreground connection mode. This is the mode the SDK should use when in the foreground and online. The caller computes this from user configuration, platform defaults, and any platform-specific logic (e.g., browser listener-driven streaming promotion).

lifecycle: LifecycleState

Application lifecycle state.

networkAvailable: boolean

Whether the device has network connectivity.

Generated using TypeDoc