ApplicationStage
public enum ApplicationStage
An enumeration of the lifecycle stages an application undergoes that can be monitored.
See the android.app.Application javadoc for detailed documentation.
Summary
Enum Values |
|
|---|---|
CREATED |
Indicates that onCreate has finished. |
PRE_ON_CREATE |
Indicates that onCreate is being called before any onCreate code executes. |
Public methods |
|
|---|---|
static ApplicationStage |
Returns the enum constant of this type with the specified name. |
static ApplicationStage[] |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
PRE_ON_CREATE
ApplicationStage ApplicationStage.PRE_ON_CREATE
Indicates that onCreate is being called before any onCreate code executes.
Public methods
valueOf
public static ApplicationStage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
| Returns | |
|---|---|
ApplicationStage |
the enum constant with the specified name |
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
if this enum type has no constant with the specified name |
values
public static ApplicationStage[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
| Returns | |
|---|---|
ApplicationStage[] |
an array containing the constants of this enum type, in the order they're declared |