共用方式為


FillRequest.Hints Property

Definition

Sends a list of datatypes for the Autofill Provider.

public System.Collections.Generic.IList<string> Hints { [Android.Runtime.Register("getHints", "()Ljava/util/List;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getHints", "()Ljava/util/List;", "", ApiSince=34)>]
member this.Hints : System.Collections.Generic.IList<string>

Property Value

Attributes

Remarks

Sends a list of datatypes for the Autofill Provider.

If this is populated, Autofill Provider should return data for the autofill hints requested here, even though the Autofill Provider may not have detected these types. The hints would be part of HintConstants: https://developer.android.com/reference/androidx/autofill/HintConstants

This is populated if the platform's field detection is enabled.

Java documentation for android.service.autofill.FillRequest.getHints().

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