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.
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
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
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.