KeyCharacterMap.GetMatch 메서드

정의

오버로드

Name Description
GetMatch(Keycode, Char[], Int32)

지정된 메타 상태를 사용하여 지정된 키가 생성할 수 있는 첫 번째 후보 문자를 가져옵니다.

GetMatch(Keycode, Char[])

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다.

GetMatch(Keycode, Char[], MetaKeyStates)

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다.

GetMatch(Keycode, Char[], Int32)

지정된 메타 상태를 사용하여 지정된 키가 생성할 수 있는 첫 번째 후보 문자를 가져옵니다.

public char GetMatch(Android.Views.Keycode keyCode, char[] chars, int metaState);
member this.GetMatch : Android.Views.Keycode * char[] * int -> char

매개 변수

keyCode
Keycode

키 코드에 사용되는 Android.Views.Keycode 값입니다.

chars
Char[]

chars에 사용되는 System.Char[] 값입니다.

metaState
Int32

메타 상태에 사용되는 System.Int32 값입니다.

반품

일치 가져오기 작업의 결과입니다.

설명

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상

GetMatch(Keycode, Char[])

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다.

[Android.Runtime.Register("getMatch", "(I[C)C", "GetGetMatch_IarrayCHandler")]
public virtual char GetMatch(Android.Views.Keycode keyCode, char[]? chars);
[<Android.Runtime.Register("getMatch", "(I[C)C", "GetGetMatch_IarrayCHandler")>]
abstract member GetMatch : Android.Views.Keycode * char[] -> char
override this.GetMatch : Android.Views.Keycode * char[] -> char

매개 변수

keyCode
Keycode

키 코드입니다.

chars
Char[]

고려할 일치하는 문자의 배열입니다.

반품

일치하는 연결된 문자이거나, 없는 경우 0입니다.

특성

설명

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다.

이 함수는 .와 동일한 값을 #getMatch(int,char[],int) getMatch(keyCode, chars, 0)반환하는 편리한 함수입니다.

에 대한 android.view.KeyCharacterMap.getMatch(int, char[])Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상

GetMatch(Keycode, Char[], MetaKeyStates)

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다.

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

매개 변수

keyCode
Keycode

키 코드입니다.

chars
Char[]

고려할 일치하는 문자의 배열입니다.

metaState
MetaKeyStates

기본 메타 키 한정자 상태입니다.

반품

일치하는 연결된 문자이거나, 없는 경우 0입니다.

특성

설명

지정된 키 코드에서 생성할 수 있는 문자 배열의 첫 번째 문자를 가져옵니다. 여러 선택 항목이 있는 경우 지정된 메타 키 한정자 상태로 생성되는 것을 선호합니다.

에 대한 android.view.KeyCharacterMap.getMatch(int, char[], int)Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상