Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

EspressoKey

public final class EspressoKey
extends Object

java.lang.Object
   ↳ android.support.test.espresso.action.EspressoKey


Class that wraps the key code and meta state of the desired key press.

Summary

Nested classes

class EspressoKey.Builder

Builder for the EspressoKey class. 

Public methods

int getKeyCode()
int getMetaState()
String toString()

Inherited methods

From class java.lang.Object

Public methods

getKeyCode

int getKeyCode ()

Returns
int

getMetaState

int getMetaState ()

Returns
int

toString

String toString ()

Returns
String