Lifecycle.Event

public static final enum Lifecycle.Event
extends Enum<Lifecycle.Event>

java.lang.Object
   ↳ java.lang.Enum<android.arch.lifecycle.Lifecycle.Event>
     ↳ android.arch.lifecycle.Lifecycle.Event


Summary

Enum values

Lifecycle.Event  ON_ANY

An Event constant that can be used to match all events. 

Lifecycle.Event  ON_CREATE

Constant for onCreate event of the LifecycleOwner

Lifecycle.Event  ON_DESTROY

Constant for onDestroy event of the LifecycleOwner

Lifecycle.Event  ON_PAUSE

Constant for onPause event of the LifecycleOwner

Lifecycle.Event  ON_RESUME

Constant for onResume event of the LifecycleOwner

Lifecycle.Event  ON_START

Constant for onStart event of the LifecycleOwner

Lifecycle.Event  ON_STOP

Constant for onStop event of the LifecycleOwner

Public methods

static Lifecycle.Event valueOf(String name)
static final Event[] values()

Inherited methods

final Object clone()
final int compareTo(Lifecycle.Event arg0)
int compareTo(Object arg0)
final boolean equals(Object arg0)
final void finalize()
final Class<E> getDeclaringClass()
final int hashCode()
final String name()
final int ordinal()
String toString()
static <T extends Enum<T>> T valueOf(Class<T> arg0, String arg1)
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()
abstract int compareTo(E arg0)

Enum values

ON_ANY

Lifecycle.Event ON_ANY

An Event constant that can be used to match all events.

ON_CREATE

Lifecycle.Event ON_CREATE

Constant for onCreate event of the LifecycleOwner.

ON_DESTROY

Lifecycle.Event ON_DESTROY

Constant for onDestroy event of the LifecycleOwner.

ON_PAUSE

Lifecycle.Event ON_PAUSE

Constant for onPause event of the LifecycleOwner.

ON_RESUME

Lifecycle.Event ON_RESUME

Constant for onResume event of the LifecycleOwner.

ON_START

Lifecycle.Event ON_START

Constant for onStart event of the LifecycleOwner.

ON_STOP

Lifecycle.Event ON_STOP

Constant for onStop event of the LifecycleOwner.

Public methods

valueOf

Lifecycle.Event valueOf (String name)

Parameters
name String

Returns
Lifecycle.Event

values

Event[] values ()

Returns
Event[]