語言

AssistStructure.ViewNode.GetAutofillOptionsFormatted 方法

定義

取得可用來自動填充此視圖的選項。

[Android.Runtime.Register("getAutofillOptions", "()[Ljava/lang/CharSequence;", "GetGetAutofillOptionsHandler", ApiSince=26)]
public virtual Java.Lang.ICharSequence[]? GetAutofillOptionsFormatted();
[<Android.Runtime.Register("getAutofillOptions", "()[Ljava/lang/CharSequence;", "GetGetAutofillOptionsHandler", ApiSince=26)>]
abstract member GetAutofillOptionsFormatted : unit -> Java.Lang.ICharSequence[]
override this.GetAutofillOptionsFormatted : unit -> Java.Lang.ICharSequence[]

傳回

可用來自動填充此視圖的選項,或 null 是結構本身是為輔助目的而建立的。

屬性

備註

取得可用來自動填充此視圖的選項。

通常由節點 View#getAutofillType() 使用 list,用來指示列表中每個可能值的意義。

這點在 AssistStructure 自動填充時才有用,不是輔助用途。

Java 文件 android.app.assist.AssistStructure.ViewNode.getAutofillOptions()。

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

適用於