Android
Android 애플리케이션이 실행되는 Android 플랫폼.
출처: 문서
본문
- Android 속성
- Deprecated(더 이상 사용되지 않는) Android 속성
Android 속성
Android 애플리케이션이 실행되는 Android 플랫폼.
속성(Attributes):
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
android.app.state |
string | 이 속성은 애플리케이션의 상태를 나타내요. [1] | created |
|
android.os.api_level |
string | Android 운영체제의 특정 버전(os.version)이 제공하는 프레임워크 API 개정판(revision)을 고유하게 식별해요. 자세한 내용은 Android API levels 문서에서 찾을 수 있어요. |
33; 32 |
[1] android.app.state: Android 라이프사이클 상태는 Activity 라이프사이클 콜백에 정의되며, 여기에서 OS identifiers가 파생돼요.
android.app.state에는 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당되면 그 값을 반드시 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용해도 돼요(MAY).
| Value | Description | Stability |
|---|---|---|
background |
앱이 포그라운드 상태일 때 Activity.onPause()가 호출된 후, 또는 앱에 Activity가 없으면 Context.stopService()가 호출된 후의 아무 시점이에요. |
|
created |
Activity.onResume() 전, 또는 앱에 Activity가 없으면 앱에서 처음으로 Context.startService()가 호출된 시점의 아무 때예요. |
|
foreground |
앱이 created 또는 background 상태일 때 Activity.onResume()가 호출된 후, 또는 앱에 Activity가 없으면 Context.startService()가 호출된 후의 아무 시점이에요. |
Deprecated Android 속성
이 문서는 Android 플랫폼에서 라이프사이클 전환(lifecycle transition)의 발생을 나타내는 속성을 정의해요.
속성(Attributes):
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
android.state |
android.app.state로 대체됨(Replaced by android.app.state). |
string | Deprecated. 대신 android.app.state 속성을 사용하세요. |
created; background; foreground |
android.state에는 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당되면 그 값을 반드시 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용해도 돼요(MAY).
| Value | Description | Stability |
|---|---|---|
background |
앱이 포그라운드 상태일 때 Activity.onPause()가 호출된 후, 또는 앱에 Activity가 없으면 Context.stopService()가 호출된 후의 아무 시점이에요. |
|
created |
Activity.onResume() 전, 또는 앱에 Activity가 없으면 앱에서 처음으로 Context.startService()가 호출된 시점의 아무 때예요. |
|
foreground |
앱이 created 또는 background 상태일 때 Activity.onResume()가 호출된 후, 또는 앱에 Activity가 없으면 Context.startService()가 호출된 후의 아무 시점이에요. |