Android Guides | Samples

Android.App.Dialog.DispatchKeyShortcutEvent Method

Called to process a key shortcut event.

Syntax

[Android.Runtime.Register("dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyShortcutEvent_Landroid_view_KeyEvent_Handler")]
public virtual Boolean DispatchKeyShortcutEvent (KeyEvent e)

Parameters

e
The key shortcut event.

Remarks

Called to process a key shortcut event. You can override this to intercept all key shortcut events before they are dispatched to the window. Be sure to call this implementation for key shortcut events that should be handled normally.

[Android Documentation]

Requirements

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