InteractionResponse
public
final
class
InteractionResponse
extends Object
implements
To<MessageLite>
java.lang.Object | |
↳ | android.support.test.espresso.remote.InteractionResponse |
Encapsulates a UiInteraction.InteractionResultProto
request. Takes care of all the proto packing and
unpacking.
Summary
Nested classes | |
---|---|
class |
InteractionResponse.Builder
Builder for |
class |
InteractionResponse.RemoteError
TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description. |
enum |
InteractionResponse.Status
The status of this interaction response. |
Public methods | |
---|---|
InteractionResponse.RemoteError
|
getRemoteError()
|
InteractionResponse.Status
|
getStatus()
|
boolean
|
hasRemoteError()
|
MessageLite
|
toProto()
|
Inherited methods | |
---|---|
From
class
java.lang.Object
| |
From
interface
android.support.test.espresso.remote.EspressoRemoteMessage.To
|
Public methods
getRemoteError
InteractionResponse.RemoteError getRemoteError ()
Returns | |
---|---|
InteractionResponse.RemoteError |
the UiInteraction.Error of this InteractionResponse |
getStatus
InteractionResponse.Status getStatus ()
Returns | |
---|---|
InteractionResponse.Status |
the InteractionResponse.Status of this InteractionResponse |
hasRemoteError
boolean hasRemoteError ()
Returns | |
---|---|
boolean |
true if a InteractionResponse.RemoteError has been set on this InteractionResponse |
toProto
MessageLite toProto ()
Returns | |
---|---|
MessageLite |
Interfaces
Classes
- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]