ReadonlybackgroundThe effective background connection mode. This is the mode the SDK should use when in the background and online. Only meaningful on mobile platforms.
ReadonlyforegroundThe 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).
ReadonlylifecycleApplication lifecycle state.
ReadonlynetworkWhether the device has network connectivity.
Input state used by the mode resolution table to determine the connection mode. The caller is responsible for computing the effective
foregroundModebefore consulting the table — for example, browser listener-driven streaming logic modifiesforegroundModeexternally.