BaseInputConnection.GetTextBeforeCursor(Int32, GetTextFlags) 方法

定義

預設實作會從緩衝區中當前游標位置回傳給定的文字量。

public string? GetTextBeforeCursor(int length, Android.Views.InputMethods.GetTextFlags flags);
member this.GetTextBeforeCursor : int * Android.Views.InputMethods.GetTextFlags -> string

參數

length
Int32
flags
GetTextFlags

傳回

備註

預設實作會從緩衝區中當前游標位置回傳給定的文字量。

android.view.inputmethod.BaseInputConnection.getTextBeforeCursor(int, int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於