java.lang.Object | |
↳ | android.support.test.runner.lifecycle.ActivityLifecycleMonitorRegistry |
An exposed registry instance to make it easy for callers to find the lifecycle monitor for their application.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the ActivityLifecycleMonitor.
| |||||||||||
Stores a lifecycle monitor in the registry.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the ActivityLifecycleMonitor. This monitor is not guaranteed to be present under all instrumentations.
IllegalStateException | if no monitor has been registered. |
---|
Stores a lifecycle monitor in the registry.
This is a global registry - so be aware of the impact of calling this method!
monitor | the monitor for this application. Null deregisters any existing monitor. |
---|