Data

constructor(keyCode: String, action: KeyAction, downTime: Long, 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.