Compartilhar via


View.DispatchKeyShortcutEvent(KeyEvent) Method

Definition

Dispatches 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 event to be dispatched.

Returns

True if the event was handled by the view, false otherwise.

Attributes

Remarks

Dispatches a key shortcut event.

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