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

InteractionRequest

public final class InteractionRequest
extends Object implements To<MessageLite>

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


Encapsulates an UiInteraction.InteractionRequestProto request. Takes care of all the proto packing and unpacking.

Summary

Nested classes

class InteractionRequest.Builder

Creates an instance of InteractionRequest from a View matcher and action. 

Public methods

Matcher<Root> getRootMatcher()

Returns the ERROR(/Matcher) associated with this InteractionRequest or null if no ERROR(/Matcher) was set.

ViewAction getViewAction()

Returns the ViewAction associated with this InteractionRequest or null if no ViewAction was set.

ViewAssertion getViewAssertion()

Returns the ViewAssertion associated with this InteractionRequest or null if no ViewAssertion was set.

Matcher<View> getViewMatcher()

Returns the ERROR(/Matcher) associated with this InteractionRequest or null if no view matcher was set.

MessageLite toProto()

Inherited methods

From class java.lang.Object
From interface android.support.test.espresso.remote.EspressoRemoteMessage.To

Public methods

getRootMatcher

Matcher<Root> getRootMatcher ()

Returns the ERROR(/Matcher) associated with this InteractionRequest or null if no ERROR(/Matcher) was set.

Returns
Matcher<Root>

getViewAction

ViewAction getViewAction ()

Returns the ViewAction associated with this InteractionRequest or null if no ViewAction was set.

Returns
ViewAction

getViewAssertion

ViewAssertion getViewAssertion ()

Returns the ViewAssertion associated with this InteractionRequest or null if no ViewAssertion was set.

Returns
ViewAssertion

getViewMatcher

Matcher<View> getViewMatcher ()

Returns the ERROR(/Matcher) associated with this InteractionRequest or null if no view matcher was set.

Returns
Matcher<View>

toProto

MessageLite toProto ()

Returns
MessageLite