{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

EspressoKey

class EspressoKey


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

Summary

Nested types

EspressoKey.Builder

Builder for the EspressoKey class.

Public constructors

Public functions

Int
Int
String!

Public constructors

EspressoKey

EspressoKey()

Public functions

getKeyCode

fun getKeyCode(): Int

getMetaState

fun getMetaState(): Int

toString

fun toString(): String!