lightbulb_outline Please take our October 2018 developer survey. Start survey

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