| // Signature format: 4.0 |
| package androidx.lifecycle { |
| |
| public interface DefaultLifecycleObserver extends androidx.lifecycle.LifecycleObserver { |
| method public default void onCreate(androidx.lifecycle.LifecycleOwner owner); |
| method public default void onDestroy(androidx.lifecycle.LifecycleOwner owner); |
| method public default void onPause(androidx.lifecycle.LifecycleOwner owner); |
| method public default void onResume(androidx.lifecycle.LifecycleOwner owner); |
| method public default void onStart(androidx.lifecycle.LifecycleOwner owner); |
| method public default void onStop(androidx.lifecycle.LifecycleOwner owner); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface GeneratedAdapter { |
| method public void callMethods(androidx.lifecycle.LifecycleOwner source, androidx.lifecycle.Lifecycle.Event event, boolean onAny, androidx.lifecycle.MethodCallsLogger? logger); |
| } |
| |
| @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface GenericLifecycleObserver extends androidx.lifecycle.LifecycleEventObserver { |
| } |
| |
| public abstract class Lifecycle { |
| ctor public Lifecycle(); |
| method @MainThread public abstract void addObserver(androidx.lifecycle.LifecycleObserver observer); |
| method @MainThread public abstract androidx.lifecycle.Lifecycle.State getCurrentState(); |
| method @MainThread public abstract void removeObserver(androidx.lifecycle.LifecycleObserver observer); |
| property @MainThread public abstract androidx.lifecycle.Lifecycle.State currentState; |
| } |
| |
| public enum Lifecycle.Event { |
| method public static final androidx.lifecycle.Lifecycle.Event? downFrom(androidx.lifecycle.Lifecycle.State state); |
| method public static final androidx.lifecycle.Lifecycle.Event? downTo(androidx.lifecycle.Lifecycle.State state); |
| method public final androidx.lifecycle.Lifecycle.State getTargetState(); |
| method public static final androidx.lifecycle.Lifecycle.Event? upFrom(androidx.lifecycle.Lifecycle.State state); |
| method public static final androidx.lifecycle.Lifecycle.Event? upTo(androidx.lifecycle.Lifecycle.State state); |
| method public static androidx.lifecycle.Lifecycle.Event valueOf(String value) throws java.lang.IllegalArgumentException, java.lang.NullPointerException; |
| method public static androidx.lifecycle.Lifecycle.Event[] values(); |
| property public final androidx.lifecycle.Lifecycle.State targetState; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_ANY; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_CREATE; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_DESTROY; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_PAUSE; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_RESUME; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_START; |
| enum_constant public static final androidx.lifecycle.Lifecycle.Event ON_STOP; |
| field public static final androidx.lifecycle.Lifecycle.Event.Companion Companion; |
| } |
| |
| public static final class Lifecycle.Event.Companion { |
| method public androidx.lifecycle.Lifecycle.Event? downFrom(androidx.lifecycle.Lifecycle.State state); |
| method public androidx.lifecycle.Lifecycle.Event? downTo(androidx.lifecycle.Lifecycle.State state); |
| method public androidx.lifecycle.Lifecycle.Event? upFrom(androidx.lifecycle.Lifecycle.State state); |
| method public androidx.lifecycle.Lifecycle.Event? upTo(androidx.lifecycle.Lifecycle.State state); |
| } |
| |
| public enum Lifecycle.State { |
| method public final boolean isAtLeast(androidx.lifecycle.Lifecycle.State state); |
| method public static androidx.lifecycle.Lifecycle.State valueOf(String value) throws java.lang.IllegalArgumentException, java.lang.NullPointerException; |
| method public static androidx.lifecycle.Lifecycle.State[] values(); |
| enum_constant public static final androidx.lifecycle.Lifecycle.State CREATED; |
| enum_constant public static final androidx.lifecycle.Lifecycle.State DESTROYED; |
| enum_constant public static final androidx.lifecycle.Lifecycle.State INITIALIZED; |
| enum_constant public static final androidx.lifecycle.Lifecycle.State RESUMED; |
| enum_constant public static final androidx.lifecycle.Lifecycle.State STARTED; |
| } |
| |
| public abstract class LifecycleCoroutineScope implements kotlinx.coroutines.CoroutineScope { |
| method @Deprecated public final kotlinx.coroutines.Job launchWhenCreated(kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block); |
| method @Deprecated public final kotlinx.coroutines.Job launchWhenResumed(kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block); |
| method @Deprecated public final kotlinx.coroutines.Job launchWhenStarted(kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> block); |
| } |
| |
| public fun interface LifecycleEventObserver extends androidx.lifecycle.LifecycleObserver { |
| method public void onStateChanged(androidx.lifecycle.LifecycleOwner source, androidx.lifecycle.Lifecycle.Event event); |
| } |
| |
| public final class LifecycleKt { |
| method public static androidx.lifecycle.LifecycleCoroutineScope getCoroutineScope(androidx.lifecycle.Lifecycle); |
| } |
| |
| public interface LifecycleObserver { |
| } |
| |
| public interface LifecycleOwner { |
| method public androidx.lifecycle.Lifecycle getLifecycle(); |
| property public abstract androidx.lifecycle.Lifecycle lifecycle; |
| } |
| |
| public final class LifecycleOwnerKt { |
| method public static androidx.lifecycle.LifecycleCoroutineScope getLifecycleScope(androidx.lifecycle.LifecycleOwner); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class Lifecycling { |
| method public static String getAdapterName(String className); |
| method public static androidx.lifecycle.LifecycleEventObserver lifecycleEventObserver(Object object); |
| } |
| |
| @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MethodCallsLogger { |
| ctor public MethodCallsLogger(); |
| method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean approveCall(String name, int type); |
| } |
| |
| @Deprecated @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target(java.lang.annotation.ElementType.METHOD) public @interface OnLifecycleEvent { |
| method @Deprecated public abstract androidx.lifecycle.Lifecycle.Event! value(); |
| } |
| |
| public final class PausingDispatcherKt { |
| method @Deprecated public static suspend <T> Object? whenCreated(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenCreated(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenResumed(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenResumed(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenStarted(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenStarted(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| method @Deprecated public static suspend <T> Object? whenStateAtLeast(androidx.lifecycle.Lifecycle, androidx.lifecycle.Lifecycle.State minState, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super T>,?> block, kotlin.coroutines.Continuation<? super T>); |
| } |
| |
| } |
| |