ApplicationStage


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 functions

java-static ApplicationStage!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<ApplicationStage!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

CREATED

val ApplicationStage.CREATEDApplicationStage

Indicates that onCreate has finished.

PRE_ON_CREATE

val ApplicationStage.PRE_ON_CREATEApplicationStage

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

Public functions

valueOf

java-static fun valueOf(name: String!): ApplicationStage!

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

java-static fun values(): Array<ApplicationStage!>!

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
Array<ApplicationStage!>!

an array containing the constants of this enum type, in the order they're declared