다음을 통해 공유


InputMethodManager.SetCurrentInputMethodSubtype(InputMethodSubtype) 메서드

정의

현재 입력 메서드의 새 입력 메서드 하위 형식으로 전환합니다.

[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인 한 권한이 필요하지 않은 를 사용합니다 InputMethodService#switchInputMethod(String, InputMethodSubtype). 호출 프로세스가 이미 Manifest.permission#WRITE_SECURE_SETTINGS 권한이 있는 일부 권한 있는 앱인 경우 를 직접 업데이트 Settings.Secure#SELECTED_INPUT_METHOD_SUBTYPE합니다.

에 대한 Java 설명서입니다 android.view.inputmethod.InputMethodManager.setCurrentInputMethodSubtype(android.view.inputmethod.InputMethodSubtype).

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

적용 대상