InputConnectionWrapper.GetTextBeforeCursorFormatted Método

Definición

Por agregar

[Android.Runtime.Register("getTextBeforeCursor", "(II)Ljava/lang/CharSequence;", "GetGetTextBeforeCursor_IIHandler")]
public virtual Java.Lang.ICharSequence? GetTextBeforeCursorFormatted(int n, Android.Views.InputMethods.GetTextFlags flags);
[<Android.Runtime.Register("getTextBeforeCursor", "(II)Ljava/lang/CharSequence;", "GetGetTextBeforeCursor_IIHandler")>]
abstract member GetTextBeforeCursorFormatted : int * Android.Views.InputMethods.GetTextFlags -> Java.Lang.ICharSequence
override this.GetTextBeforeCursorFormatted : int * Android.Views.InputMethods.GetTextFlags -> Java.Lang.ICharSequence

Parámetros

n
Int32

Longitud esperada del texto.

flags
GetTextFlags

Proporciona opciones adicionales que controlan cómo se devuelve el texto. Puede ser 0 o GetTextWithStyles.

Devoluciones

Implementaciones

Atributos

Comentarios

Por agregar

Java documentación para android.view.inputmethod.InputConnectionWrapper.getTextBeforeCursor(int, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a