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.