Stay organized with collections Save and categorize content based on your preferences.

InteractionRequest

public final class InteractionRequest implements EspressoRemoteMessage.To


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

Summary

Nested types

public class InteractionRequest.Builder

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

Public constructors

Public methods

Matcher<Root>

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

ViewAction

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

ViewAssertion

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

Matcher<View>

Returns the < associated with this InteractionRequest or null if no view matcher was set.

MessageLite

Public constructors

InteractionRequest

public InteractionRequest()

Public methods

getRootMatcher

public Matcher<Root> getRootMatcher()

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

getViewAction

public ViewAction getViewAction()

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

getViewAssertion

public ViewAssertion getViewAssertion()

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

getViewMatcher

public Matcher<View> getViewMatcher()

Returns the < associated with this InteractionRequest or null if no view matcher was set.

toProto

public MessageLite toProto()