keyCode property

int keyCode
final

The hardware key code corresponding to this key event.

This is the physical key that was pressed, not the Unicode character. See codePoint for the Unicode character.

See developer.android.com/reference/android/view/KeyEvent.html#getKeyCode() for more information.

Implementation

final int keyCode;