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

RemoteInteractionRegistry

public class RemoteInteractionRegistry
extends Object

java.lang.Object
   ↳ android.support.test.espresso.remote.RemoteInteractionRegistry


An exposed registry instance to make it easy for callers to get a hold of Remote Interaction

Summary

Public methods

static RemoteInteraction getInstance()

Returns the RemoteInteraction

This remote interaction is not guaranteed to be present under all instrumentations.

static void registerInstance(RemoteInteraction remoteInteraction)

Stores the remote interaction in the registry.

Inherited methods

From class java.lang.Object

Public methods

getInstance

RemoteInteraction getInstance ()

Returns the RemoteInteraction

This remote interaction is not guaranteed to be present under all instrumentations.

Returns
RemoteInteraction RemoteInteraction the remote interaction for this application. If no remote interaction has been registered a NoopRemoteInteraction will be returned.

registerInstance

void registerInstance (RemoteInteraction remoteInteraction)

Stores the remote interaction in the registry.

This is a global registry - so be aware of the impact of calling this method!

Parameters
remoteInteraction RemoteInteraction: the remote interaction for this application. <@code>Null de-registers any existing monitor.