AbstractInputMethodService.OnShouldVerifyKeyEvent(KeyEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.