onKeyPreIme

open fun onKeyPreIme(keyCode: Int, event: KeyEvent): Boolean

Handles key events before they are processed by the input method. Notifies the registered listener of any key press events.

Return

true if the event was handled, false otherwise.

Parameters

keyCode

The code of the key that was pressed.

event

The complete key event.