Android.Webkit.WebViewClient.ShouldOverrideKeyEvent Method
Give the host application a chance to handle the key event synchronously. e.g. menu shortcut key events need to be filtered this way.

Syntax

[Android.Runtime.Register("shouldOverrideKeyEvent", "(Landroid/webkit/WebView;Landroid/view/KeyEvent;)Z", "GetShouldOverrideKeyEvent_Landroid_webkit_WebView_Landroid_view_KeyEvent_Handler")]
public virtual bool ShouldOverrideKeyEvent (WebView view, Android.Views.KeyEvent e)

Parameters

view
The WebView that is initiating the callback.
e
The key event.

Returns

Documentation for this section has not yet been entered.

Remarks

Give the host application a chance to handle the key event synchronously. e.g. menu shortcut key events need to be filtered this way. If return true, WebView will not handle the key event. If return false, WebView will always handle the key event, so none of the super in the view chain will see the key event. The default behavior returns false.

[Android Documentation]

Requirements

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