概述
公有方法 | |
---|---|
abstract boolean | onKeyDown(int keyCode, KeyEvent event) 按键按下时调用。 Called when a key down event has occurred. |
abstract boolean | onKeyLongPress(int keyCode, KeyEventevent) 长按事件发生时调用。 Called when a long press has occurred. |
abstract boolean | onKeyMultiple(int keyCode, int count, KeyEvent event) 同一按键反复按下抬起事件发生时调用。 Called when multiple down/up pairs of the same key have occurred in a row. |
abstract boolean | onKeyUp(int keyCode, KeyEvent event) 按键抬起时调用。 Called when a key up event has occurred. |
网友评论