Skip to content

Most visited

Recently visited

navigation

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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.