次の方法で共有


AssistStructure.ViewNode.GetAutofillHints Method

Definition

Describes the content of a view so that a autofill service can fill in the appropriate data.

[Android.Runtime.Register("getAutofillHints", "()[Ljava/lang/String;", "GetGetAutofillHintsHandler", ApiSince=26)]
public virtual string[]? GetAutofillHints ();
[<Android.Runtime.Register("getAutofillHints", "()[Ljava/lang/String;", "GetGetAutofillHintsHandler", ApiSince=26)>]
abstract member GetAutofillHints : unit -> string[]
override this.GetAutofillHints : unit -> string[]

Returns

String[]

The autofill hints for this view, or null if the structure was created for assist purposes.

Attributes

Remarks

Describes the content of a view so that a autofill service can fill in the appropriate data.

It's only relevant when the AssistStructure is used for autofill purposes, not for Assist - see View#getAutofillHints() for more info.

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

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