InteractionResponse
Kotlin
|Java
public
final
class
InteractionResponse
extends Object
implements
To<MessageLite>
java.lang.Object | |
↳ | androidx.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 | |
---|---|
Public methods
getRemoteError
public InteractionResponse.RemoteError getRemoteError ()
Returns | |
---|---|
InteractionResponse.RemoteError |
the UiInteraction.Error of this InteractionResponse |
getStatus
public InteractionResponse.Status getStatus ()
Returns | |
---|---|
InteractionResponse.Status |
the InteractionResponse.Status of this InteractionResponse |
hasRemoteError
public boolean hasRemoteError ()
Returns | |
---|---|
boolean |
true if a InteractionResponse.RemoteError has been set on this InteractionResponse |
toProto
public MessageLite toProto ()
Returns | |
---|---|
MessageLite |
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 2021-07-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]