1package android.arch.lifecycle {
2
3  public abstract class Lifecycle {
4    ctor public Lifecycle();
5    method public abstract void addObserver(android.arch.lifecycle.LifecycleObserver);
6    method public abstract android.arch.lifecycle.Lifecycle.State getCurrentState();
7    method public abstract void removeObserver(android.arch.lifecycle.LifecycleObserver);
8  }
9
10  public static final class Lifecycle.Event extends java.lang.Enum {
11    method public static android.arch.lifecycle.Lifecycle.Event valueOf(java.lang.String);
12    method public static final android.arch.lifecycle.Lifecycle.Event[] values();
13    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_ANY;
14    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_CREATE;
15    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_DESTROY;
16    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_PAUSE;
17    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_RESUME;
18    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_START;
19    enum_constant public static final android.arch.lifecycle.Lifecycle.Event ON_STOP;
20  }
21
22  public static final class Lifecycle.State extends java.lang.Enum {
23    method public boolean isAtLeast(android.arch.lifecycle.Lifecycle.State);
24    method public static android.arch.lifecycle.Lifecycle.State valueOf(java.lang.String);
25    method public static final android.arch.lifecycle.Lifecycle.State[] values();
26    enum_constant public static final android.arch.lifecycle.Lifecycle.State CREATED;
27    enum_constant public static final android.arch.lifecycle.Lifecycle.State DESTROYED;
28    enum_constant public static final android.arch.lifecycle.Lifecycle.State INITIALIZED;
29    enum_constant public static final android.arch.lifecycle.Lifecycle.State RESUMED;
30    enum_constant public static final android.arch.lifecycle.Lifecycle.State STARTED;
31  }
32
33  public abstract interface LifecycleObserver {
34  }
35
36  public abstract interface LifecycleOwner {
37    method public abstract android.arch.lifecycle.Lifecycle getLifecycle();
38  }
39
40  public abstract class OnLifecycleEvent implements java.lang.annotation.Annotation {
41  }
42
43}
44
45