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

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