InputMethodManager.SetCurrentInputMethodSubtype(InputMethodSubtype) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 입력 메서드의 새 입력 메서드 하위 형식으로 전환합니다.
[Android.Runtime.Register("setCurrentInputMethodSubtype", "(Landroid/view/inputmethod/InputMethodSubtype;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.WRITE_SECURE_SETTINGS")]
public bool SetCurrentInputMethodSubtype (Android.Views.InputMethods.InputMethodSubtype? subtype);
[<Android.Runtime.Register("setCurrentInputMethodSubtype", "(Landroid/view/inputmethod/InputMethodSubtype;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_SECURE_SETTINGS")>]
member this.SetCurrentInputMethodSubtype : Android.Views.InputMethods.InputMethodSubtype -> bool
매개 변수
- subtype
- InputMethodSubtype
전환할 새 입력 메서드 하위 형식입니다.
반환
현재 하위 형식이 성공적으로 전환되었으면 true입니다. 지정된 하위 형식이 null이면 이 메서드는 false를 반환합니다.
- 특성
설명
현재 입력 메서드의 새 입력 메서드 하위 형식으로 전환합니다.
이 멤버는 더 이상 사용되지 않습니다. 호출 프로세스가 IME인 경우 호출자가 현재 IME인 경우 권한이 필요하지 않은 IME를 사용합니다 InputMethodService#switchInputMethod(String, InputMethodSubtype)
. 호출 프로세스가 이미 Manifest.permission#WRITE_SECURE_SETTINGS
권한이 있는 일부 권한 있는 앱인 경우 직접 업데이트 Settings.Secure#SELECTED_INPUT_METHOD_SUBTYPE
합니다.
이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.