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.BuilderBuilder for  | 
| 
        
        
        
        
        class | InteractionResponse.RemoteErrorTODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description. | 
| 
        
        
        
        
        enum | InteractionResponse.StatusThe 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.Errorof thisInteractionResponse | 
getStatus
InteractionResponse.Status getStatus ()
| Returns | |
|---|---|
| InteractionResponse.Status | the InteractionResponse.Statusof thisInteractionResponse | 
hasRemoteError
boolean hasRemoteError ()
| Returns | |
|---|---|
| boolean | true if a InteractionResponse.RemoteErrorhas been set on thisInteractionResponse | 
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 2025-02-10 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 2025-02-10 UTC."],[],[]]
    
  
            
          
        
        