onKeyPress

abstract fun onKeyPress(keyCode: Int, event: KeyEvent)

Called when there is a key press event

Parameters

keyCode

code for a pressed key

event

event for key press