InputMethodService.OnKeyMultiple(Keycode, Int32, KeyEvent) Method

Definition

Override this to intercept special key multiple events before they are processed by the application.

[Android.Runtime.Register("onKeyMultiple", "(IILandroid/view/KeyEvent;)Z", "GetOnKeyMultiple_IILandroid_view_KeyEvent_Handler")]
public override bool OnKeyMultiple (Android.Views.Keycode keyCode, int count, Android.Views.KeyEvent? e);
[<Android.Runtime.Register("onKeyMultiple", "(IILandroid/view/KeyEvent;)Z", "GetOnKeyMultiple_IILandroid_view_KeyEvent_Handler")>]
override this.OnKeyMultiple : Android.Views.Keycode * int * Android.Views.KeyEvent -> bool

Parameters

keyCode
Keycode
count
Int32

Returns

Attributes

Remarks

Override this to intercept special key multiple 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 always returns false, except when in fullscreen mode, where 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.

Java documentation for android.inputmethodservice.InputMethodService.onKeyMultiple(int, int, android.view.KeyEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to