InputMethodManager.SetCurrentInputMethodSubtype(InputMethodSubtype) Method

Definition

Caution

deprecated

Switch to a new input method subtype of the current input method.

[Android.Runtime.Register("setCurrentInputMethodSubtype", "(Landroid/view/inputmethod/InputMethodSubtype;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.WRITE_SECURE_SETTINGS")]
[System.Obsolete("deprecated")]
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")>]
[<System.Obsolete("deprecated")>]
member this.SetCurrentInputMethodSubtype : Android.Views.InputMethods.InputMethodSubtype -> bool

Parameters

subtype
InputMethodSubtype

A new input method subtype to switch.

Returns

Boolean

true if the current subtype was successfully switched. When the specified subtype is null, this method returns false.

Attributes

Remarks

Java documentation for android.view.inputmethod.InputMethodManager.setCurrentInputMethodSubtype(android.view.inputmethod.InputMethodSubtype).

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