Google is committed to advancing racial equity for Black communities. See how.

KeyEventType

enum class KeyEventType
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.core.keyinput.KeyEventType>
   ↳ androidx.ui.core.keyinput.KeyEventType

The type of Key Event.

Summary

Enum values

Type of KeyEvent sent when the user presses down their finger on a key on the keyboard.

Type of KeyEvent sent when the user lifts their finger off a key on the keyboard.

Unknown key event.

Enum values

KeyDown

enum val KeyDown : KeyEventType

Type of KeyEvent sent when the user presses down their finger on a key on the keyboard.

KeyUp

enum val KeyUp : KeyEventType

Type of KeyEvent sent when the user lifts their finger off a key on the keyboard.

Unknown

enum val Unknown : KeyEventType

Unknown key event.