Freigeben über


IInputConnectionExtensions.SetComposingText Method

Definition

Overloads

SetComposingText(IInputConnection, String, Int32)
SetComposingText(IInputConnection, String, Int32, TextAttribute)

SetComposingText(IInputConnection, String, Int32)

public static bool SetComposingText (this Android.Views.InputMethods.IInputConnection self, string? text, int newCursorPosition);
static member SetComposingText : Android.Views.InputMethods.IInputConnection * string * int -> bool

Parameters

text
String
newCursorPosition
Int32

Returns

Remarks

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

SetComposingText(IInputConnection, String, Int32, TextAttribute)

public static bool SetComposingText (this Android.Views.InputMethods.IInputConnection self, string text, int newCursorPosition, Android.Views.InputMethods.TextAttribute? textAttribute);
static member SetComposingText : Android.Views.InputMethods.IInputConnection * string * int * Android.Views.InputMethods.TextAttribute -> bool

Parameters

text
String
newCursorPosition
Int32
textAttribute
TextAttribute

Returns

Applies to