public final class IntentMonitorRegistry
extends Object
java.lang.Object | |
↳ | android.support.test.runner.intent.IntentMonitorRegistry |
向用户公开 IntentMonitor
的实现。
Public methods |
|
---|---|
static IntentMonitor |
getInstance() 返回IntentMonitor。 |
static void |
registerInstance(IntentMonitor monitor) 将给定的 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
IntentMonitor getInstance ()
返回IntentMonitor。 此监视器不保证在所有“乐器”下出现。
Returns | |
---|---|
IntentMonitor |
Throws | |
---|---|
IllegalStateException |
if no monitor has been registered. |
void registerInstance (IntentMonitor monitor)
将给定的IntentMonitor
实例存储在注册表中。 传递null将从注册表中删除监视器。
Parameters | |
---|---|
monitor |
IntentMonitor
|