ImeKeyListener

interface ImeKeyListener
androidx.leanback.widget.ImeKeyMonitor.ImeKeyListener

Listener interface for key events intercepted pre-IME by edit text objects.

Summary

Public methods
abstract Boolean
onKeyPreIme(editText: EditText!, keyCode: Int, event: KeyEvent!)

Callback invoked from EditText's onKeyPreIme method override.

Public methods

onKeyPreIme

abstract fun onKeyPreIme(editText: EditText!, keyCode: Int, event: KeyEvent!): Boolean

Callback invoked from EditText's onKeyPreIme method override. Returning true tells the caller that the key event is handled and should not be propagated.