Android.InputMethodServices.InputMethodService.OnKeyUp Method
Override this to intercept key up events before they are processed by the application.

Syntax

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

Parameters

keyCode
Documentation for this section has not yet been entered.
e
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Override this to intercept key up events before they are processed by the application. If you return true, the application will not itself process the event. If you return false, the normal application processing will occur as if the IME had not seen the event at all.

The default implementation intercepts Android.Views.KeyEvent.KEYCODE_BACK to hide the current IME UI if it is shown. In addition, in fullscreen mode only, it will consume DPAD movement events to move the cursor in the extracted text view, not allowing them to perform navigation in the underlying application.

[Android Documentation]

Requirements

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