android.app.state
Developmentenumas of v1.44.0
This attribute represents the state of the application.
The Android lifecycle states are defined in Activity lifecycle callbacks, and from which the OS identifiers are derived.
Examples
- created
Values (3)
createdAny time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.backgroundAny time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state.foregroundAny time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states.
Used by
events (1)
- device.app.lifecycle
* required on that signal.
History
Added as development.