Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

InteractionResponse.RemoteError

public static final class InteractionResponse.RemoteError
extends Object

java.lang.Object
   ↳ androidx.test.espresso.remote.InteractionResponse.RemoteError


TODO(b/31122396): parse this from a proto Enum representing wire protocol error codes and their default description.

Summary

Constants

int REMOTE_ESPRESSO_ERROR_CODE

int REMOTE_PROTOCOL_ERROR_CODE

Public methods

int getCode()
String getDescription()
String toString()

Inherited methods

From class java.lang.Object

Constants

REMOTE_ESPRESSO_ERROR_CODE

int REMOTE_ESPRESSO_ERROR_CODE

Constant Value: 0 (0x00000000)

REMOTE_PROTOCOL_ERROR_CODE

int REMOTE_PROTOCOL_ERROR_CODE

Constant Value: 1 (0x00000001)

Public methods

getCode

int getCode ()

Returns
int the error code of this InteractionResponse.RemoteError instance.

getDescription

String getDescription ()

Returns
String the description of this InteractionResponse.RemoteError instance.

toString

String toString ()

Returns
String