You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Any time before Activity.onResume() or, if the app has no Activity, Context.startService()
52
-
* has been called in the app for the first time.
24
+
* This attribute represents the state of the application.
25
+
* <p>
26
+
* Notes:
27
+
* <p>
28
+
* The Android lifecycle states are defined in <a href="https://developer.android.com/guide/components/activities/activity-lifecycle#lc">Activity lifecycle callbacks</a>, and from which the {@code OS identifiers} are derived.
* Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has
58
-
* been called when the app was in the foreground state.
33
+
* Uniquely identifies the framework API revision offered by a version ({@code os.version}) of the android operating system. More information can be found <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">here</a>.
* Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.
81
58
*/
82
-
publicstaticfinalStringCREATED = "created";
83
-
84
-
/**
85
-
* Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has
86
-
* been called when the app was in the foreground state.
59
+
publicstaticfinalStringCREATED = "created";
60
+
61
+
/**
62
+
* 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.
87
63
*/
88
-
publicstaticfinalStringBACKGROUND = "background";
89
-
64
+
publicstaticfinalStringBACKGROUND = "background";
65
+
66
+
/**
67
+
* 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.
68
+
*/
69
+
publicstaticfinalStringFOREGROUND = "foreground";
70
+
71
+
privateAndroidAppStateIncubatingValues() {}
72
+
}
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
90
81
/**
91
-
* Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has
92
-
* been called when the app was in either the created or background states.
82
+
* Values for {@link #ANDROID_STATE}
83
+
* @deprecated Use {@code android.app.state} body field instead.
* Any time before Activity.onResume() or, if the app has no Activity, Context.startService() has been called in the app for the first time.
93
88
*/
94
-
publicstaticfinalStringFOREGROUND = "foreground";
95
-
96
-
privateAndroidStateIncubatingValues() {}
97
-
}
89
+
publicstaticfinalStringCREATED = "created";
90
+
91
+
/**
92
+
* 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.
93
+
*/
94
+
publicstaticfinalStringBACKGROUND = "background";
95
+
96
+
/**
97
+
* 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.
* A unique identifier representing the installation of an application on a specific device
25
+
* <p>
26
+
* Notes:
27
+
* <p>
28
+
* Its value SHOULD persist across launches of the same application installation, including through application upgrades.
29
+
* It SHOULD change if the application is uninstalled or if all applications of the vendor are uninstalled.
30
+
* Additionally, users might be able to reset this value (e.g. by clearing application data).
31
+
* If an app is installed multiple times on the same device (e.g. in different accounts on Android), each {@code app.installation.id} SHOULD have a different value.
32
+
* If multiple OpenTelemetry SDKs are used within the same application, they SHOULD use the same value for {@code app.installation.id}.
33
+
* Hardware IDs (e.g. serial number, IMEI, MAC address) MUST NOT be used as the {@code app.installation.id}.
34
+
* <p>
35
+
* For iOS, this value SHOULD be equal to the <a href="https://developer.apple.com/documentation/uikit/uidevice/identifierforvendor">vendor identifier</a>.
36
+
* <p>
37
+
* For Android, examples of {@code app.installation.id} implementations include:
* More information about Android identifier best practices can be found <a href="https://developer.android.com/training/articles/user-data-ids">here</a>.
0 commit comments