Android.App.Activity.OnKeyUp Method
Called when a key was released and not handled by any of the views inside of the activity.

Syntax

[Android.Runtime.Register("onKeyUp", "(ILandroid/view/KeyEvent;)Z", "GetOnKeyUp_ILandroid_view_KeyEvent_Handler")]
public virtual bool OnKeyUp (Android.Views.Keycode keyCode, Android.Views.KeyEvent e)

See Also

Activity.OnKeyDown(Android.Views.Keycode, Android.Views.KeyEvent)
Android.Views.KeyEvent

Parameters

keyCode
The value in event.getKeyCode().
e
Description of the key event.

Returns

Documentation for this section has not yet been entered.

Remarks

Called when a key was released and not handled by any of the views inside of the activity. So, for example, key presses while the cursor is inside a TextView will not trigger the event (unless it is a navigation to another object) because TextView handles its own key presses.

The default implementation handles KEYCODE_BACK to stop the activity and go back.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1