语言

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() 使用,以指示列表中每个可能值的含义。

当用于自动填充目的时,它相关 AssistStructure ,而不是出于辅助目的。

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于