Data

data class Data(val keyCode: String, val action: KeyAction, val downTime: Long, val eventTime: Long)

Parameters

keyCode

The key code that generated this event.

action

The action of the key, either KeyAction.Down or KeyAction.Up

downTime

The time (in SystemClock.uptimeMillis()) at which this key code originally went down.

eventTime

The time (in SystemClock.uptimeMillis()) at which this event happened.

Constructors

Link copied to clipboard
constructor(keyCode: String, action: KeyAction, downTime: Long, eventTime: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard