共用方式為


TextView.ClearComposingText Method

Definition

Use BaseInputConnection#removeComposingSpans BaseInputConnection.removeComposingSpans() to remove any IME composing state from this text view.

[Android.Runtime.Register("clearComposingText", "()V", "GetClearComposingTextHandler")]
public virtual void ClearComposingText ();
[<Android.Runtime.Register("clearComposingText", "()V", "GetClearComposingTextHandler")>]
abstract member ClearComposingText : unit -> unit
override this.ClearComposingText : unit -> unit
Attributes

Remarks

Use BaseInputConnection#removeComposingSpans BaseInputConnection.removeComposingSpans() to remove any IME composing state from this text view.

Java documentation for android.widget.TextView.clearComposingText().

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