Språk

InsertGesture.Builder.SetTextToInsert(String) Method

Definition

Set the text that will be inserted at setInsertionPoint(PointF).

[Android.Runtime.Register("setTextToInsert", "(Ljava/lang/String;)Landroid/view/inputmethod/InsertGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.InsertGesture.Builder SetTextToInsert(string text);
[<Android.Runtime.Register("setTextToInsert", "(Ljava/lang/String;)Landroid/view/inputmethod/InsertGesture$Builder;", "", ApiSince=34)>]
member this.SetTextToInsert : string -> Android.Views.InputMethods.InsertGesture.Builder

Parameters

text
String

Returns

Attributes

Remarks

Set the text that will be inserted at setInsertionPoint(PointF). When set with an empty string, cursor will be moved to InsertGesture.getInsertionPoint() and no text would be inserted.

Android reference for android.view.inputmethod.InsertGesture.Builder.setTextToInsert.

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