| // Signature format: 4.0 |
| package androidx.lifecycle.testing { |
| |
| public final class TestLifecycleOwner implements androidx.lifecycle.LifecycleOwner { |
| ctor public TestLifecycleOwner(); |
| ctor public TestLifecycleOwner(optional androidx.lifecycle.Lifecycle.State initialState); |
| ctor public TestLifecycleOwner(optional androidx.lifecycle.Lifecycle.State initialState, optional kotlinx.coroutines.CoroutineDispatcher coroutineDispatcher); |
| method public androidx.lifecycle.Lifecycle.State getCurrentState(); |
| method public androidx.lifecycle.LifecycleRegistry getLifecycle(); |
| method public int getObserverCount(); |
| method public void handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event event); |
| method public void setCurrentState(androidx.lifecycle.Lifecycle.State); |
| method public suspend Object? setCurrentState(androidx.lifecycle.Lifecycle.State state, kotlin.coroutines.Continuation<? super kotlin.Unit>); |
| property public final androidx.lifecycle.Lifecycle.State currentState; |
| property public androidx.lifecycle.LifecycleRegistry lifecycle; |
| property public final int observerCount; |
| } |
| |
| } |
| |