Language

InputConnectionWrapper.SetImeConsumesInput(Boolean) Method

Definition

Called by the input method to indicate that it consumes all input for itself, or no longer does so.

[Android.Runtime.Register("setImeConsumesInput", "(Z)Z", "GetSetImeConsumesInput_ZHandler", ApiSince=31)]
public virtual bool SetImeConsumesInput(bool imeConsumesInput);
[<Android.Runtime.Register("setImeConsumesInput", "(Z)Z", "GetSetImeConsumesInput_ZHandler", ApiSince=31)>]
abstract member SetImeConsumesInput : bool -> bool
override this.SetImeConsumesInput : bool -> bool

Parameters

imeConsumesInput
Boolean

true when the IME is consuming input and the cursor should be hidden, false when input to the editor resumes and the cursor should be shown again.

Returns

The value returned by the target connection.

Implements

Attributes

Remarks

Called by the input method to indicate that it consumes all input for itself, or no longer does so.

Java documentation for android.view.inputmethod.InputConnectionWrapper.setImeConsumesInput(boolean).

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