Application lifecycle states reported by the runtime.

These values mirror platform lifecycle callbacks and are exposed through App.state. They are useful when systems need to pause work, mute audio, or skip expensive updates while the application is not active.

Values

Pause

The application was paused, but has not necessarily lost foreground focus.

Resume

The application resumed after a pause.

Background

The application moved to the background.

Foreground

The application became the foreground application.

Shutdown

The application is shutting down.