InputMethodService.SwitchInputMethod Method

Definition

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 id.

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.

Java documentation for android.inputmethodservice.InputMethodService.switchInputMethod(java.lang.String).

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.

Java documentation for android.inputmethodservice.InputMethodService.switchInputMethod(java.lang.String, 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