InputMethodService.SwitchInputMethod 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.
Overloads
SwitchInputMethod(String) |
Force switch to a new input method, as identified by <var>id</var>. |
SwitchInputMethod(String, InputMethodSubtype) |
Force switch to a new input method, as identified by |
SwitchInputMethod(String)
Force switch to a new input method, as identified by <var>id</var>.
[Android.Runtime.Register("switchInputMethod", "(Ljava/lang/String;)V", "GetSwitchInputMethod_Ljava_lang_String_Handler")]
public virtual void SwitchInputMethod (string? id);
[<Android.Runtime.Register("switchInputMethod", "(Ljava/lang/String;)V", "GetSwitchInputMethod_Ljava_lang_String_Handler")>]
abstract member SwitchInputMethod : string -> unit
override this.SwitchInputMethod : string -> unit
Parameters
- id
- String
Unique identifier of the new input method to start.
- Attributes
Remarks
Force switch to a new input method, as identified by <var>id</var>. This input method will be destroyed, and the requested one started on the current input field.
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
SwitchInputMethod(String, InputMethodSubtype)
Force switch to a new input method, as identified by id
.
[Android.Runtime.Register("switchInputMethod", "(Ljava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V", "", ApiSince=28)]
public void SwitchInputMethod (string? id, Android.Views.InputMethods.InputMethodSubtype? subtype);
[<Android.Runtime.Register("switchInputMethod", "(Ljava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V", "", ApiSince=28)>]
member this.SwitchInputMethod : string * Android.Views.InputMethods.InputMethodSubtype -> unit
Parameters
- id
- String
Unique identifier of the new input method to start.
- subtype
- InputMethodSubtype
The new subtype of the new input method to be switched to.
- Attributes
Remarks
Force switch to a new input method, as identified by id
. This input method will be destroyed, and the requested one started on the current input field.
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.