InputConnectionWrapper.GetTextAfterCursorFormatted 方法

定義

待補充

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

參數

n
Int32

文字的預期長度。

flags
GetTextFlags

提供更多選項來控制文字回傳方式。 可能是 0 或 GetTextWithStyles

傳回

實作

屬性

備註

待補充

Java 文件 android.view.inputmethod.InputConnectionWrapper.getTextAfterCursor(int, int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於