Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

IntentMonitorRegistry

public final class IntentMonitorRegistry
extends Object

java.lang.Object
   ↳ androidx.test.runner.intent.IntentMonitorRegistry


Exposes an implementation of IntentMonitor to users.

Summary

Public methods

static IntentMonitor getInstance()

Returns the IntentMonitor.

static void registerInstance(IntentMonitor monitor)

Stores the given IntentMonitor instance in the registry.

Inherited methods

From class java.lang.Object

Public methods

getInstance

IntentMonitor getInstance ()

Returns the IntentMonitor. This monitor is not guaranteed to be present under all' instrumentations.

Returns
IntentMonitor

Throws
IllegalStateException if no monitor has been registered.

registerInstance

void registerInstance (IntentMonitor monitor)

Stores the given IntentMonitor instance in the registry. Passing null removes the monitor from the registry.

Parameters
monitor IntentMonitor