InputMethodService.ShouldOfferSwitchingToNextInputMethod Method

Definition

Returns true if the current IME needs to offer the users ways to switch to a next input method (e.

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

Returns

Attributes

Remarks

Returns true if the current IME needs to offer the users ways to switch to a next input method (e.g. a globe key.). When an IME sets supportsSwitchingToNextInputMethod and this method returns true, the IME has to offer ways to to invoke #switchToNextInputMethod accordingly.

Note that the system determines the most appropriate next input method and subtype in order to provide the consistent user experience in switching between IMEs and subtypes.

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

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