This method of the InputManagerListener Interface is called by an IME class that handles the keystrokes from the native system.
public boolean handledKey(InputMethodCallback imeCallback, long when, int keyCode, int keyChar, int state);
Returns true if InputManagerListener processes the keystroke; otherwise, returns false.
imeCallback | The InputMethodCallback object that receives keystrokes from the native system. |
when | The time that the composed character is generated at. |
keyCode | The ASCII key code of the character. |
keyChar | The key character of the composed character. |
state | The state when the event occurred. |