{"source":"semconv","version":"1.44.0","attribute":{"id":"android.state","type":"enum","enumMembers":[{"id":"created","value":"created","stability":"development","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."},{"id":"background","value":"background","stability":"development","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."},{"id":"foreground","value":"foreground","stability":"development","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","brief":"Deprecated. Use `android.app.state` attribute instead.","examples":[],"deprecated":{"reason":"renamed","renamedTo":"android.app.state"},"namespace":"android","definedIn":"model/android/deprecated/registry-deprecated.yaml","usedBy":[]},"history":[{"version":"1.30.0","publishedAt":"2025-01-24T19:11:42Z","kind":"first-seen","detail":"Already present at v1.30.0, the oldest release tracked here (experimental)."},{"version":"1.31.0","publishedAt":"2025-03-11T00:53:13Z","kind":"stability-changed","detail":"Stability label respelled from experimental to development.","severity":"informational"},{"version":"1.37.0","publishedAt":"2025-08-25T23:38:36Z","kind":"renamed","detail":"Renamed to `android.app.state`.","severity":"notable"}],"replaces":[]}