KeyListener

Interface of android.text.method · KeyListener.java · Android's reference

public interface KeyListener

Turns key events into edits of a text.

Implemented in the framework by

Methods

public abstract int getInputType() source
public abstract boolean onKeyDown(View view, Editable text, int keyCode, KeyEvent event) source
public abstract boolean onKeyUp(View view, Editable text, int keyCode, KeyEvent event) source
public abstract boolean onKeyOther(View view, Editable text, KeyEvent event) source
public abstract void clearMetaKeyState(View view, Editable content, int states) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.