Udostępnij za pośrednictwem


KeyboardShortcutInfo.Keycode Property

Definition

Returns the base keycode that, combined with the modifiers, triggers this shortcut.

public Android.Views.Keycode Keycode { [Android.Runtime.Register("getKeycode", "()I", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getKeycode", "()I", "", ApiSince=24)>]
member this.Keycode : Android.Views.Keycode

Property Value

Attributes

Remarks

Returns the base keycode that, combined with the modifiers, triggers this shortcut. If the base character was set instead, returns KeyEvent#KEYCODE_UNKNOWN. Valid keycodes are defined as constants in KeyEvent.

Java documentation for android.view.KeyboardShortcutInfo.getKeycode().

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