Language

AbstractInputMethodService.AbstractInputMethodSessionImpl.OnShouldVerifyKeyEvent Method

Definition

In the base implementation, asks the enclosing service whether to request key-event verification.

[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 passed to the enclosing service by the base implementation.

Returns

The decision returned by the enclosing service in the base implementation.

Attributes

Remarks

The base implementation forwards the event to the enclosing service's OnShouldVerifyKeyEvent method.

Applies to