Granular control over which platform events trigger automatic mode switches.

Hierarchy

  • AutomaticModeSwitchingConfig

Properties

Properties

lifecycle?: boolean

Whether to automatically switch modes in response to application lifecycle events (foreground/background on mobile, visibility changes on browser).

Default Value

true on mobile, false on browser/desktop
network?: boolean

Whether to automatically pause/resume data sources in response to network availability changes.

Default Value

true on mobile, false on desktop

Generated using TypeDoc