InsertGesture.Builder.SetTextToInsert(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the text to insert at the point supplied to 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
The text to insert, or an empty string to move the cursor without inserting text.
Returns
This builder after the insertion text is stored.
- Attributes
Remarks
Sets the text to insert at the point supplied to SetInsertionPoint(PointF). When the text is empty, the cursor moves to that point and no text is 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.