Share via


View.GetAutofillHints Method

Definition

Gets the hints that help an android.service.autofill.AutofillService determine how to autofill the view with the user's 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 hints set via the attribute or #setAutofillHints(String...), or null if no hints were set.

Attributes

Remarks

Gets the hints that help an android.service.autofill.AutofillService determine how to autofill the view with the user's data.

See #setAutofillHints(String...) for more info about these hints.

Java documentation for android.view.View.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