KeyEvent.GetMatch Method

Definition

Overloads

GetMatch(Char[], Int32)
Obsolete.
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[], Int32)

Caution

Please use GetMatch(char[], MetaKeyStates)

[System.Obsolete("Please use GetMatch(char[], MetaKeyStates)")]
public char GetMatch (char[] chars, int metaState);
member this.GetMatch : char[] * int -> char

Parameters

chars
Char[]
metaState
Int32

Returns

Char
Attributes

Remarks

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

GetMatch(Char[])

Gets the first character in the character array that can be generated by the specified key code.

[Android.Runtime.Register("getMatch", "([C)C", "GetGetMatch_arrayCHandler")]
public virtual char GetMatch (char[] chars);
abstract member GetMatch : char[] -> char
override this.GetMatch : char[] -> char

Parameters

chars
Char[]

The array of matching characters to consider.

Returns

Char
Attributes

Remarks

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

GetMatch(Char[], MetaKeyStates)

Gets the first character in the character array that can be generated by the specified key code.

[Android.Runtime.Register("getMatch", "([CI)C", "GetGetMatch_arrayCIHandler")]
public virtual char GetMatch (char[] chars, Android.Views.MetaKeyStates metaState);
abstract member GetMatch : char[] * Android.Views.MetaKeyStates -> char
override this.GetMatch : char[] * Android.Views.MetaKeyStates -> char

Parameters

chars
Char[]

The array of matching characters to consider.

metaState
MetaKeyStates

The preferred meta key modifier state.

Returns

Char
Attributes

Remarks

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