語言

InlineSuggestionsRequest.Builder.SetSupportedLocales(LocaleList) 方法

定義

IME提供了該請求的地點。

[Android.Runtime.Register("setSupportedLocales", "(Landroid/os/LocaleList;)Landroid/view/inputmethod/InlineSuggestionsRequest$Builder;", "", ApiSince=30)]
public Android.Views.InputMethods.InlineSuggestionsRequest.Builder SetSupportedLocales(Android.OS.LocaleList value);
[<Android.Runtime.Register("setSupportedLocales", "(Landroid/os/LocaleList;)Landroid/view/inputmethod/InlineSuggestionsRequest$Builder;", "", ApiSince=30)>]
member this.SetSupportedLocales : Android.OS.LocaleList -> Android.Views.InputMethods.InlineSuggestionsRequest.Builder

參數

value
LocaleList

傳回

屬性

備註

IME提供了該請求的地點。 若非空,內嵌建議應回傳支援區域的語言。 如果沒有提供,如果目標 SDK 是 S 或以上,預設會是空的,否則預設為系統區域。

自動填充提供者注意:建議回傳的內嵌建議採用單一區域,以確保介面呈現一致。

Android 參考資料。android.view.inputmethod.InlineSuggestionsRequest.Builder.setSupportedLocales

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

適用於