|
1 | 1 | groups:
|
2 | 2 | - id: ios.lifecycle.events
|
3 | 3 | type: event
|
4 |
| - prefix: ios |
5 | 4 | name: device.app.lifecycle
|
6 | 5 | brief: >
|
7 | 6 | This event represents an occurrence of a lifecycle transition on the iOS platform.
|
8 | 7 | attributes:
|
9 |
| - - id: state |
10 |
| - stability: experimental |
| 8 | + - ref: ios.state |
11 | 9 | requirement_level: "required"
|
12 |
| - note: > |
13 |
| - The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), |
14 |
| - and from which the `OS terminology` column values are derived. |
15 |
| - brief: > |
16 |
| - This attribute represents the state the application has transitioned into at the occurrence of the event. |
17 |
| - type: |
18 |
| - allow_custom_values: false |
19 |
| - members: |
20 |
| - - id: active |
21 |
| - value: 'active' |
22 |
| - brief: > |
23 |
| - The app has become `active`. Associated with UIKit notification `applicationDidBecomeActive`. |
24 |
| - stability: experimental |
25 |
| - - id: inactive |
26 |
| - value: 'inactive' |
27 |
| - brief: > |
28 |
| - The app is now `inactive`. Associated with UIKit notification `applicationWillResignActive`. |
29 |
| - stability: experimental |
30 |
| - - id: background |
31 |
| - value: 'background' |
32 |
| - brief: > |
33 |
| - The app is now in the background. |
34 |
| - This value is associated with UIKit notification `applicationDidEnterBackground`. |
35 |
| - stability: experimental |
36 |
| - - id: foreground |
37 |
| - value: 'foreground' |
38 |
| - brief: > |
39 |
| - The app is now in the foreground. |
40 |
| - This value is associated with UIKit notification `applicationWillEnterForeground`. |
41 |
| - stability: experimental |
42 |
| - - id: terminate |
43 |
| - value: 'terminate' |
44 |
| - brief: > |
45 |
| - The app is about to terminate. Associated with UIKit notification `applicationWillTerminate`. |
46 |
| - stability: experimental |
47 | 10 | - id: android.lifecycle.events
|
48 | 11 | type: event
|
49 |
| - prefix: android |
50 | 12 | name: device.app.lifecycle
|
51 | 13 | brief: >
|
52 | 14 | This event represents an occurrence of a lifecycle transition on the Android platform.
|
53 | 15 | attributes:
|
54 |
| - - id: state |
55 |
| - stability: experimental |
| 16 | + - ref: android.state |
56 | 17 | requirement_level: required
|
57 |
| - brief: > |
58 |
| - This attribute represents the state the application has transitioned into at the occurrence of the event. |
59 |
| - note: > |
60 |
| - The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), |
61 |
| - and from which the `OS identifiers` are derived. |
62 |
| - type: |
63 |
| - allow_custom_values: false |
64 |
| - members: |
65 |
| - - id: created |
66 |
| - value: 'created' |
67 |
| - brief: > |
68 |
| - Any time before Activity.onResume() or, if the app has no Activity, Context.startService() |
69 |
| - has been called in the app for the first time. |
70 |
| - stability: experimental |
71 |
| - - id: background |
72 |
| - value: 'background' |
73 |
| - brief: > |
74 |
| - Any time after Activity.onPause() or, if the app has no Activity, |
75 |
| - Context.stopService() has been called when the app was in the foreground state. |
76 |
| - stability: experimental |
77 |
| - - id: foreground |
78 |
| - value: 'foreground' |
79 |
| - brief: > |
80 |
| - Any time after Activity.onResume() or, if the app has no Activity, |
81 |
| - Context.startService() has been called when the app was in either the created or background states. |
82 |
| - stability: experimental |
0 commit comments