InputMethodManager.SetCurrentInputMethodSubtype(InputMethodSubtype) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
true if the current subtype was successfully switched. When the specified subtype is null, this method returns false.
- 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.