The properties of Android.Views.KeyEvent are listed below. For a list of all members, see the KeyEvent Members list.
See Also: Inherited members from Android.Views.InputEvent
[read-only] | Action | KeyEventActions. Retrieve the action of this key event. |
[read-only] | Characters | string. For the special case of a KeyEvent.ACTION_MULTIPLE event with key code of KeyEvent.KEYCODE_UNKNOWN, this is a raw string of characters associated with the event. |
[read-only] static | Creator | Android.OS.IParcelableCreator. |
[read-only] override | DeviceId | int. Gets the id for the device that this event came from. |
[read-only] | DisplayLabel | char. Gets the primary character for this key. |
[read-only] | DownTime | long. Retrieve the time of the most recent key down event, in the Android.OS.SystemClock.UptimeMillis time base. |
[read-only] override | EventTime | long. Retrieve the time this event occurred, in the Android.OS.SystemClock.UptimeMillis time base. |
[read-only] | Flags | KeyEventFlags. Returns the flags for this key event. |
[read-only] | HasNoModifiers | bool. Returns true if no modifier keys are pressed. |
[read-only] | IsAltPressed | bool. |
[read-only] | IsCanceled | bool. For KeyEvent.ACTION_UP events, indicates that the event has been canceled as per KeyEvent.FLAG_CANCELED. |
[read-only] | IsCapsLockOn | bool. |
[read-only] | IsCtrlPressed | bool. |
[read-only] | IsFunctionPressed | bool. |
[read-only] | IsLongPress | bool. For KeyEvent.ACTION_DOWN events, indicates that the event has been canceled as per KeyEvent.FLAG_LONG_PRESS. |
[read-only] | IsMetaPressed | bool. |
[read-only] | IsNumLockOn | bool. |
[read-only] | IsPrintingKey | bool. Returns true if this key produces a glyph. |
[read-only] | IsScrollLockOn | bool. |
[read-only] | IsShiftPressed | bool. |
[read-only] | IsSymPressed | bool. |
[read-only] | IsSystem | bool. Is this a system key? System keys can not be used for menu shortcuts. |
[read-only] | IsTracking | bool. For KeyEvent.ACTION_UP events, indicates that the event is still being tracked from its initial down event as per KeyEvent.FLAG_TRACKING. |
[read-only] | KeyCharacterMap | KeyCharacterMap. Gets the Android.Views.KeyCharacterMap associated with the keyboard device. |
[read-only] | KeyCode | Keycode. Retrieve the key code of the key event. |
[read-only] static | MaxKeyCode | Keycode. Returns the maximum keycode. |
[read-only] | MetaState | MetaKeyStates. |
[read-only] static | ModifierMetaStateMask | MetaKeyStates. Gets a mask that includes all valid modifier key meta state bits. |
[read-only] | Modifiers | MetaKeyStates. Returns the state of the modifier keys. |
[read-only] | Number | char. Gets the number or symbol associated with the key. |
[read-only] | RepeatCount | int. Retrieve the repeat count of the event. |
[read-only] | ScanCode | int. Retrieve the hardware key id of this key event. |
[read-only] override | Source | InputSourceType. Gets the source of the event. |
[read-only] | UnicodeChar | int. Gets the Unicode character generated by the specified key and meta key state combination. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |