Language

AbstractInputMethodService.OnShouldVerifyKeyEvent(KeyEvent) Method

Definition

Indicates whether a key event should be considered for verification before dispatch.

[Android.Runtime.Register("onShouldVerifyKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetOnShouldVerifyKeyEvent_Landroid_view_KeyEvent_Handler", ApiSince=36)]
public virtual bool OnShouldVerifyKeyEvent(Android.Views.KeyEvent e);
[<Android.Runtime.Register("onShouldVerifyKeyEvent", "(Landroid/view/KeyEvent;)Z", "GetOnShouldVerifyKeyEvent_Landroid_view_KeyEvent_Handler", ApiSince=36)>]
abstract member OnShouldVerifyKeyEvent : Android.Views.KeyEvent -> bool
override this.OnShouldVerifyKeyEvent : Android.Views.KeyEvent -> bool

Parameters

e
KeyEvent

The key event for which to make the verification decision.

Returns

true to request verification; false to make no request. The base implementation returns false.

Attributes

Remarks

Java documentation for android.inputmethodservice.AbstractInputMethodService.onShouldVerifyKeyEvent(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