# ApplicationStage

Summary:[Enums](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#enumconstants)\|[Methods](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#)  

# ApplicationStage

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public

final

enum
ApplicationStage
`  
`


``

extends `[Enum](https://developer.android.com/reference/java/lang/Enum.html)`<`[ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)`>


``


`

|---|---|--------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [java.lang.Enum](https://developer.android.com/reference/java/lang/Enum.html)\<[android.support.test.runner.lifecycle.ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)\> ||
|   | ↳ | android.support.test.runner.lifecycle.ApplicationStage |

<br />

*** ** * ** ***

An enumeration of the lifecycle stages an application undergoes that can be monitored.

See the[Application](https://developer.android.com/reference/android/app/Application.html)javadoc for detailed documentation.

## Summary

|                                                                                                ### Enum values                                                                                                 ||
|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|
| [ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage) | `CREATED` Indicates that onCreate has finished.                                            |
| [ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage) | `PRE_ON_CREATE` Indicates that onCreate is being called before any onCreate code executes. |

|                                                                                                                                                                       ### Public methods                                                                                                                                                                        ||
|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` static `[ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)         | ` `[valueOf](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#valueOf(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` name) ` |
| ` static final `[ApplicationStage[]](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage) | ` `[values](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#values())`() `                                                                                                 |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#)From class` `[java.lang.Enum](https://developer.android.com/reference/java/lang/Enum.html)` ` |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` final `[Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                                       | ` clone() `                                                                                                                                                                  | | ` final int`                                                                                                                                                                                           | ` compareTo(`[ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)` arg0) `                                     | | ` int`                                                                                                                                                                                                 | ` compareTo(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) `                                                                                | | ` final boolean`                                                                                                                                                                                       | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) `                                                                                   | | ` final void`                                                                                                                                                                                          | ` finalize() `                                                                                                                                                               | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`<`[ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)`>` | ` getDeclaringClass() `                                                                                                                                                      | | ` final int`                                                                                                                                                                                           | ` hashCode() `                                                                                                                                                               | | ` final `[String](https://developer.android.com/reference/java/lang/String.html)                                                                                                                       | ` name() `                                                                                                                                                                   | | ` final int`                                                                                                                                                                                           | ` ordinal() `                                                                                                                                                                | | ` `[String](https://developer.android.com/reference/java/lang/String.html)                                                                                                                             | ` toString() `                                                                                                                                                               | | ` static <T extends `[Enum](https://developer.android.com/reference/java/lang/Enum.html)`<T>> T`                                                                                                       | ` valueOf(`[Class](https://developer.android.com/reference/java/lang/Class.html)`<T> arg0, `[String](https://developer.android.com/reference/java/lang/String.html)` arg1) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#)From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                                | | ` boolean`                                                                          | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                             | ` finalize() `                                                                             | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                             | | ` int`                                                                              | ` hashCode() `                                                                             | | ` final void`                                                                       | ` notify() `                                                                               | | ` final void`                                                                       | ` notifyAll() `                                                                            | | ` `[String](https://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                             | | ` final void`                                                                       | ` wait(long arg0, int arg1) `                                                              | | ` final void`                                                                       | ` wait(long arg0) `                                                                        | | ` final void`                                                                       | ` wait() `                                                                                 | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage#)From interface` `[java.lang.Comparable](https://developer.android.com/reference/java/lang/Comparable.html)` ` |-----------------|------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract int` | ` compareTo(`[ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)` arg0) ` | ||

## Enum values

### CREATED

```
ApplicationStage CREATED
```

Indicates that onCreate has finished.

<br />

### PRE_ON_CREATE

```
ApplicationStage PRE_ON_CREATE
```

Indicates that onCreate is being called before any onCreate code executes.

<br />

## Public methods

### valueOf

```
ApplicationStage valueOf (String name)
```

<br />

<br />

|       Parameters        ||
|--------|-----------------|
| `name` | `String` <br /> |

|                                                          Returns                                                           ||
|--------------------------------------------------------------------------------------------------------------------|--------|
| [ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage) | <br /> |

### values

```
ApplicationStage[] values ()
```

<br />

<br />

|                                                           Returns                                                            ||
|----------------------------------------------------------------------------------------------------------------------|--------|
| [ApplicationStage[]](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage) | <br /> |

-

  ## Interfaces

  - [ActivityLifecycleCallback](https://developer.android.com/reference/android/support/test/runner/lifecycle/ActivityLifecycleCallback)
  - [ActivityLifecycleMonitor](https://developer.android.com/reference/android/support/test/runner/lifecycle/ActivityLifecycleMonitor)
  - [ApplicationLifecycleCallback](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationLifecycleCallback)
  - [ApplicationLifecycleMonitor](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationLifecycleMonitor)
-

  ## Classes

  - [ActivityLifecycleMonitorRegistry](https://developer.android.com/reference/android/support/test/runner/lifecycle/ActivityLifecycleMonitorRegistry)
  - [ApplicationLifecycleMonitorRegistry](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationLifecycleMonitorRegistry)
-

  ## Enums

  - [ApplicationStage](https://developer.android.com/reference/android/support/test/runner/lifecycle/ApplicationStage)
  - [Stage](https://developer.android.com/reference/android/support/test/runner/lifecycle/Stage)