Compartilhar via


Window.ICallback.DispatchKeyShortcutEvent(KeyEvent) Method

Definition

Called to process a key shortcut event.

[Android.Runtime.Register("dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyShortcutEvent_Landroid_view_KeyEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool DispatchKeyShortcutEvent (Android.Views.KeyEvent e);
[<Android.Runtime.Register("dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z", "GetDispatchKeyShortcutEvent_Landroid_view_KeyEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchKeyShortcutEvent : Android.Views.KeyEvent -> bool

Parameters

e
KeyEvent

The key shortcut event.

Returns

True if this event was consumed.

Attributes

Remarks

Called to process a key shortcut event. At the very least your implementation must call android.view.Window#superDispatchKeyShortcutEvent to do the standard key shortcut processing.

Java documentation for android.view.Window.Callback.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