The methods 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
static | ChangeAction(KeyEvent, KeyEventActions)Create a new key event that is the same as the given one, but whose action is replaced with the given value. | |
static | ChangeFlags(KeyEvent, KeyEventFlags)Create a new key event that is the same as the given one, but whose flags are replaced with the given value. | |
static | ChangeTimeRepeat(KeyEvent, long, int)Create a new key event that is the same as the given one, but whose event time and repeat count are replaced with the given value. | |
static | ChangeTimeRepeat(KeyEvent, long, int, KeyEventFlags)Create a new key event that is the same as the given one, but whose event time and repeat count are replaced with the given value. | |
override | DescribeContents()Documentation for this section has not yet been entered. | |
Dispatch(KeyEvent.ICallback) | ||
Dispatch(KeyEvent.ICallback, KeyEvent.DispatcherState, Java.Lang.Object)Deliver this key event to a NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html interface. | ||
static | GetDeadChar(int, int)Get the character that is produced by putting accent on the character c. | |
GetKeyData(KeyCharacterMap.KeyData)Get the character conversion data for a given key code. | ||
GetMatch(char[])Gets the first character in the character array that can be generated by the specified key code. | ||
GetMatch(char[], MetaKeyStates)Gets the first character in the character array that can be generated by the specified key code. | ||
GetMatch(char[], int)Documentation for this section has not yet been entered. | ||
GetUnicodeChar(MetaKeyStates)Gets the Unicode character generated by the specified key and meta key state combination. | ||
HasModifiers(MetaKeyStates)Returns true if only the specified modifiers keys are pressed. | ||
static | IsGamepadButton(Keycode)Returns true if the specified keycode is a gamepad button. | |
static | IsModifierKey(Keycode)Returns true if this key code is a modifier key. | |
static | KeyCodeFromString(string)Gets a keycode by its symbolic name such as "KEYCODE_A" or an equivalent numeric constant such as "1001". | |
static | KeyCodeToString(Keycode)Returns a string that represents the symbolic name of the specified keycode such as "KEYCODE_A", "KEYCODE_DPAD_UP", or an equivalent numeric constant such as "1001" if unknown. | |
static | MetaStateHasModifiers(MetaKeyStates, MetaKeyStates)Returns true if only the specified modifier keys are pressed according to the specified meta state. | |
static | MetaStateHasNoModifiers(MetaKeyStates)Returns true if no modifiers keys are pressed according to the specified meta state. | |
static | NormalizeMetaState(MetaKeyStates)Normalizes the specified meta state. | |
SetSource(InputSourceType)Modifies the source of the event. | ||
StartTracking()Call this during NoType:android/view/KeyEvent$Callback;Href=../../../reference/android/view/KeyEvent.Callback.html#onKeyDown(int, android.view.KeyEvent) to have the system track the key through its final up (possibly including a long press). | ||
override | WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)Flatten this object in to a Parcel. |