blob: 2ea9a9e40ad0c6781831c5daf024b3a0832fdf3c [file]
// Signature format: 4.0
package androidx.lifecycle {
public final class FlowExtKt {
method public static <T> kotlinx.coroutines.flow.Flow<T> flowWithLifecycle(kotlinx.coroutines.flow.Flow<? extends T>, androidx.lifecycle.Lifecycle lifecycle, optional androidx.lifecycle.Lifecycle.State minActiveState);
method @BytecodeOnly public static kotlinx.coroutines.flow.Flow! flowWithLifecycle$default(kotlinx.coroutines.flow.Flow!, androidx.lifecycle.Lifecycle!, androidx.lifecycle.Lifecycle.State!, int, Object!);
}
public final class LifecycleDestroyedException extends java.util.concurrent.CancellationException {
ctor public LifecycleDestroyedException();
}
public class LifecycleRegistry extends androidx.lifecycle.Lifecycle {
ctor public LifecycleRegistry(androidx.lifecycle.LifecycleOwner provider);
method @MainThread public void addObserver(androidx.lifecycle.LifecycleObserver observer);
method @VisibleForTesting public static final androidx.lifecycle.LifecycleRegistry createUnsafe(androidx.lifecycle.LifecycleOwner owner);
method @InaccessibleFromKotlin public androidx.lifecycle.Lifecycle.State getCurrentState();
method @InaccessibleFromKotlin public int getObserverCount();
method public void handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event event);
method @Deprecated @MainThread public void markState(androidx.lifecycle.Lifecycle.State state);
method @MainThread public void removeObserver(androidx.lifecycle.LifecycleObserver observer);
method @InaccessibleFromKotlin public void setCurrentState(androidx.lifecycle.Lifecycle.State);
property public androidx.lifecycle.Lifecycle.State currentState;
property public kotlinx.coroutines.flow.StateFlow<androidx.lifecycle.Lifecycle.State> currentStateFlow;
property public int observerCount;
field public static final androidx.lifecycle.LifecycleRegistry.Companion Companion;
}
public static final class LifecycleRegistry.Companion {
method @VisibleForTesting public androidx.lifecycle.LifecycleRegistry createUnsafe(androidx.lifecycle.LifecycleOwner owner);
}
@Deprecated public interface LifecycleRegistryOwner extends androidx.lifecycle.LifecycleOwner {
method @Deprecated public androidx.lifecycle.LifecycleRegistry getLifecycle();
}
public final class RepeatOnLifecycleKt {
method public static suspend Object? repeatOnLifecycle(androidx.lifecycle.Lifecycle, androidx.lifecycle.Lifecycle.State state, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public static suspend Object? repeatOnLifecycle(androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State state, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super kotlin.Unit>);
}
public final class ViewKt {
method @BytecodeOnly @Deprecated public static androidx.lifecycle.LifecycleOwner! findViewTreeLifecycleOwner(android.view.View!);
}
public final class ViewTreeLifecycleOwner {
method @KotlinOnly public static androidx.lifecycle.LifecycleOwner? findViewTreeLifecycleOwner(android.view.View);
method @InaccessibleFromKotlin public static androidx.lifecycle.LifecycleOwner? get(android.view.View);
method @InaccessibleFromKotlin public static void set(android.view.View, androidx.lifecycle.LifecycleOwner? lifecycleOwner);
method @KotlinOnly public static void setViewTreeLifecycleOwner(android.view.View, androidx.lifecycle.LifecycleOwner? lifecycleOwner);
}
public final class WithLifecycleStateKt {
method public static suspend inline <R> Object? withCreated(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withCreated(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withResumed(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withResumed(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withStarted(androidx.lifecycle.Lifecycle, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withStarted(androidx.lifecycle.LifecycleOwner, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withStateAtLeast(androidx.lifecycle.Lifecycle, androidx.lifecycle.Lifecycle.State state, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
method public static suspend inline <R> Object? withStateAtLeast(androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State state, kotlin.jvm.functions.Function0<? extends R> block, kotlin.coroutines.Continuation<? super R>);
}
}