InputMethodService.SwitchToPreviousInputMethod Method

Definition

Force switch to the last used input method and subtype.

[Android.Runtime.Register("switchToPreviousInputMethod", "()Z", "", ApiSince=28)]
public bool SwitchToPreviousInputMethod ();
[<Android.Runtime.Register("switchToPreviousInputMethod", "()Z", "", ApiSince=28)>]
member this.SwitchToPreviousInputMethod : unit -> bool

Returns

true if the current input method and subtype was successfully switched to the last used input method and subtype.

Attributes

Remarks

Force switch to the last used input method and subtype. If the last input method didn't have any subtypes, the framework will simply switch to the last input method with no subtype specified.

Java documentation for android.inputmethodservice.InputMethodService.switchToPreviousInputMethod().

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