共用方式為


SpellCheckerService.Session.OnGetSuggestionsMultiple 方法

定義

onGetSuggestions 的批處理。

[Android.Runtime.Register("onGetSuggestionsMultiple", "([Landroid/view/textservice/TextInfo;IZ)[Landroid/view/textservice/SuggestionsInfo;", "GetOnGetSuggestionsMultiple_arrayLandroid_view_textservice_TextInfo_IZHandler")]
public virtual Android.Views.TextService.SuggestionsInfo[]? OnGetSuggestionsMultiple(Android.Views.TextService.TextInfo[]? textInfos, int suggestionsLimit, bool sequentialWords);
[<Android.Runtime.Register("onGetSuggestionsMultiple", "([Landroid/view/textservice/TextInfo;IZ)[Landroid/view/textservice/SuggestionsInfo;", "GetOnGetSuggestionsMultiple_arrayLandroid_view_textservice_TextInfo_IZHandler")>]
abstract member OnGetSuggestionsMultiple : Android.Views.TextService.TextInfo[] * int * bool -> Android.Views.TextService.SuggestionsInfo[]
override this.OnGetSuggestionsMultiple : Android.Views.TextService.TextInfo[] * int * bool -> Android.Views.TextService.SuggestionsInfo[]

參數

textInfos
TextInfo[]

文字元數據的陣列

suggestionsLimit
Int32

要傳回的建議數目上限

sequentialWords
Boolean

如果 textInfos 可以視為循序字,則為 true。

傳回

傳回的 SentenceSuggestionsInfo 陣列 SpellCheckerService.Session#onGetSuggestions(TextInfo, int)

屬性

備註

onGetSuggestions 的批處理。 此函式會在傳入的 IPC 線程上執行。 因此,這不會在主線程上呼叫,而是在另一個線程上以數列呼叫。

android.service.textservice.SpellCheckerService.Session.onGetSuggestionsMultiple(android.view.textservice.TextInfo[], int, boolean)Java 檔。

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

適用於