InputMethodManager.ShouldOfferSwitchingToNextInputMethod(IBinder) 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", "(Landroid/os/IBinder;)Z", "")]
public bool ShouldOfferSwitchingToNextInputMethod (Android.OS.IBinder? imeToken);
[<Android.Runtime.Register("shouldOfferSwitchingToNextInputMethod", "(Landroid/os/IBinder;)Z", "")>]
member this.ShouldOfferSwitchingToNextInputMethod : Android.OS.IBinder -> bool

Parameters

imeToken
IBinder

Supplies the identifying token given to an input method when it was started, which allows it to perform this operation on itself.

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.

This member is deprecated. Use InputMethodService#shouldOfferSwitchingToNextInputMethod() instead. This method was intended for IME developers who should be accessing APIs through the service. APIs in this class are intended for app developers interacting with the IME.

Java documentation for android.view.inputmethod.InputMethodManager.shouldOfferSwitchingToNextInputMethod(android.os.IBinder).

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