Dialog.DispatchKeyShortcutEvent(KeyEvent) Method

Definition

Called to process a key shortcut event.

[Android.Runtime.Register("dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyShortcutEvent_Landroid_view_KeyEvent_Handler")]
public virtual bool DispatchKeyShortcutEvent (Android.Views.KeyEvent e);
[<Android.Runtime.Register("dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyShortcutEvent_Landroid_view_KeyEvent_Handler")>]
abstract member DispatchKeyShortcutEvent : Android.Views.KeyEvent -> bool
override this.DispatchKeyShortcutEvent : Android.Views.KeyEvent -> bool

Parameters

e
KeyEvent

The key shortcut event.

Returns

True if this event was consumed.

Implements

Attributes

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.

Java documentation for android.app.Dialog.dispatchKeyShortcutEvent(android.view.KeyEvent).

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.

Applies to