Method OnKeyUp
OnKeyUp(Keycode, KeyEvent?)
Default implementation of KeyEvent.Callback#onKeyUp(int, KeyEvent)
KeyEvent.Callback.onKeyUp(): perform clicking of the view
when KeyEvent#KEYCODE_DPAD_CENTER, KeyEvent#KEYCODE_ENTER
or KeyEvent#KEYCODE_SPACE is released.
public override bool OnKeyUp(Keycode keyCode, KeyEvent? e)
Parameters
keyCodeKeycodeA key code that represents the button pressed, from
android.view.KeyEvent.eKeyEventThe KeyEvent object that defines the button action.
Returns
- bool
To be added.
Remarks
Default implementation of KeyEvent.Callback#onKeyUp(int, KeyEvent)
KeyEvent.Callback.onKeyUp(): perform clicking of the view
when KeyEvent#KEYCODE_DPAD_CENTER, KeyEvent#KEYCODE_ENTER
or KeyEvent#KEYCODE_SPACE is released.
Key presses in software keyboards will generally NOT trigger this listener, although some may elect to do so in some situations. Do not rely on this to catch software key presses.
.
android.view.View.onKeyUp(int, android.view.KeyEvent)
Portions of this page are modifications based on work created and shared by the