{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class InteractionRequest implements EspressoRemoteMessage.To
Encapsulates an InteractionRequestProto request. Takes care of all the proto packing and unpacking.
Nested types |
|
|---|---|
InteractionRequest.Builder |
Creates an instance of |
Public fields |
|
|---|---|
final @Nullable Matcher<Root> |
|
final @Nullable ViewAction |
|
final @Nullable ViewAssertion |
|
final @Nullable Matcher<View> |
|
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
Matcher<Root> |
Returns the < associated with this |
ViewAction |
Returns the |
ViewAssertion |
Returns the |
Matcher<View> |
Returns the < associated with this |
MessageLite |
toProto() |
public Matcher<Root> getRootMatcher()
Returns the < associated with this InteractionRequest or
null if no < was set.
public ViewAction getViewAction()
Returns the ViewAction associated with this InteractionRequest or null if no ViewAction was set.
public ViewAssertion getViewAssertion()
Returns the ViewAssertion associated with this InteractionRequest or
null if no ViewAssertion was set.
public Matcher<View> getViewMatcher()
Returns the < associated with this InteractionRequest or
null if no view matcher was set.