言語

InputConnectionWrapper.FinishComposingText Method

Definition

Have the text editor finish whatever composing text is currently active.

[Android.Runtime.Register("finishComposingText", "()Z", "GetFinishComposingTextHandler")]
public virtual bool FinishComposingText();
[<Android.Runtime.Register("finishComposingText", "()Z", "GetFinishComposingTextHandler")>]
abstract member FinishComposingText : unit -> bool
override this.FinishComposingText : unit -> bool

Returns

true on success, false if the input connection is no longer valid.

Implements

Attributes

Remarks

Have the text editor finish whatever composing text is currently active. This simply leaves the text as-is, removing any special composing styling or other state that was around it. The cursor position remains unchanged.

Java documentation for android.view.inputmethod.InputConnectionWrapper.finishComposingText().

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