Android.Views.KeyEvent: Property Members

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

Public Properties

[read-only]
ActionKeyEventActions. Retrieve the action of this key event.
[read-only]
Charactersstring. 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
CreatorAndroid.OS.IParcelableCreator.
[read-only]
override
DeviceIdint. Gets the id for the device that this event came from.
[read-only]
DisplayLabelchar. Gets the primary character for this key.
[read-only]
DownTimelong. Retrieve the time of the most recent key down event, in the Android.OS.SystemClock.UptimeMillis time base.
[read-only]
override
EventTimelong. Retrieve the time this event occurred, in the Android.OS.SystemClock.UptimeMillis time base.
[read-only]
FlagsKeyEventFlags. Returns the flags for this key event.
[read-only]
HasNoModifiersbool. Returns true if no modifier keys are pressed.
[read-only]
IsAltPressedbool.
[read-only]
IsCanceledbool. For KeyEvent.ACTION_UP events, indicates that the event has been canceled as per KeyEvent.FLAG_CANCELED.
[read-only]
IsCapsLockOnbool.
[read-only]
IsCtrlPressedbool.
[read-only]
IsFunctionPressedbool.
[read-only]
IsLongPressbool. For KeyEvent.ACTION_DOWN events, indicates that the event has been canceled as per KeyEvent.FLAG_LONG_PRESS.
[read-only]
IsMetaPressedbool.
[read-only]
IsNumLockOnbool.
[read-only]
IsPrintingKeybool. Returns true if this key produces a glyph.
[read-only]
IsScrollLockOnbool.
[read-only]
IsShiftPressedbool.
[read-only]
IsSymPressedbool.
[read-only]
IsSystembool. Is this a system key? System keys can not be used for menu shortcuts.
[read-only]
IsTrackingbool. 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]
KeyCharacterMapKeyCharacterMap. Gets the Android.Views.KeyCharacterMap associated with the keyboard device.
[read-only]
KeyCodeKeycode. Retrieve the key code of the key event.
[read-only]
static
MaxKeyCodeKeycode. Returns the maximum keycode.
[read-only]
MetaStateMetaKeyStates.
[read-only]
static
ModifierMetaStateMaskMetaKeyStates. Gets a mask that includes all valid modifier key meta state bits.
[read-only]
ModifiersMetaKeyStates. Returns the state of the modifier keys.
[read-only]
Numberchar. Gets the number or symbol associated with the key.
[read-only]
RepeatCountint. Retrieve the repeat count of the event.
[read-only]
ScanCodeint. Retrieve the hardware key id of this key event.
[read-only]
override
SourceInputSourceType. Gets the source of the event.
[read-only]
UnicodeCharint. Gets the Unicode character generated by the specified key and meta key state combination.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.