44 lines
1.9 KiB
YAML
44 lines
1.9 KiB
YAML
groups:
|
|
- id: registry.android
|
|
type: attribute_group
|
|
display_name: Android Attributes
|
|
brief: >
|
|
The Android platform on which the Android application is running.
|
|
attributes:
|
|
- id: android.os.api_level
|
|
type: string
|
|
stability: development
|
|
brief: >
|
|
Uniquely identifies the framework API revision offered by a version
|
|
(`os.version`) of the android operating system. More information can be found
|
|
in the [Android API levels documentation](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
|
|
examples: ['33', '32']
|
|
- id: android.app.state
|
|
stability: development
|
|
brief: >
|
|
This attribute represents the state of the application.
|
|
note: >
|
|
The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc),
|
|
and from which the `OS identifiers` are derived.
|
|
examples: [ "created" ]
|
|
type:
|
|
members:
|
|
- id: created
|
|
value: 'created'
|
|
brief: >
|
|
Any time before Activity.onResume() or, if the app has no Activity, Context.startService()
|
|
has been called in the app for the first time.
|
|
stability: development
|
|
- id: background
|
|
value: 'background'
|
|
brief: >
|
|
Any time after Activity.onPause() or, if the app has no Activity,
|
|
Context.stopService() has been called when the app was in the foreground state.
|
|
stability: development
|
|
- id: foreground
|
|
value: 'foreground'
|
|
brief: >
|
|
Any 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.
|
|
stability: development
|