次の方法で共有


AssistStructure.ViewNode.GetAutofillOptionsFormatted Method

Definition

Gets the options that can be used to autofill this view.

[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[]

Returns

the options that can be used to autofill this view, or null if the structure was created for assist purposes.

Attributes

Remarks

Gets the options that can be used to autofill this view.

Typically used by nodes whose View#getAutofillType() is a list to indicate the meaning of each possible value in the list.

It's relevant when the AssistStructure is used for autofill purposes, not for assist purposes.

Java documentation for android.app.assist.AssistStructure.ViewNode.getAutofillOptions().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to