Android.App.Dialog.OnKeyShortcut Method
Called when a key shortcut event is not handled by any of the views in the Dialog.

Syntax

[Android.Runtime.Register("onKeyShortcut", "(ILandroid/view/KeyEvent;)Z", "GetOnKeyShortcut_ILandroid_view_KeyEvent_Handler")]
public virtual bool OnKeyShortcut ([Android.Runtime.GeneratedEnum] Android.Views.Keycode keyCode, Android.Views.KeyEvent e)

Parameters

keyCode
The value in event.getKeyCode().
e
Description of the key event.

Returns

Documentation for this section has not yet been entered.

Remarks

Called when a key shortcut event is not handled by any of the views in the Dialog. Override this method to implement global key shortcuts for the Dialog. Key shortcuts can also be implemented by setting the Android.Views.IMenuItem.SetShortcut(char, System.Char) property of menu items.

[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