Android Guides | Samples

Android.Views.IMenu.IsShortcutKey Method

Is a keypress one of the defined shortcut keys for this window.

Syntax

[Android.Runtime.Register("isShortcutKey", "(ILandroid/view/KeyEvent;)Z", "GetIsShortcutKey_ILandroid_view_KeyEvent_Handler:Android.Views.IMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Boolean IsShortcutKey ([Android.Runtime.GeneratedEnum] Keycode keyCode, KeyEvent e)

Parameters

keyCode
the key code from KeyEvent to check.
e
the KeyEvent to use to help check.

Remarks

Is a keypress one of the defined shortcut keys for this window.

[Android Documentation]

Requirements

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