lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

ImeKeyMonitor.ImeKeyListener

public static interface ImeKeyMonitor.ImeKeyListener

android.support.v17.leanback.widget.ImeKeyMonitor.ImeKeyListener


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

Summary

Public methods

abstract boolean onKeyPreIme(EditText editText, int keyCode, KeyEvent event)

Callback invoked from EditText's onKeyPreIme method override.

Public methods

onKeyPreIme

added in version 24.1.0
boolean onKeyPreIme (EditText editText, 
                int keyCode, 
                KeyEvent event)

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

Parameters
editText EditText

keyCode int

event KeyEvent

Returns
boolean