Język

FieldClassification.Hints Property

Definition

Detected field types represented as autofill hints.

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

Property Value

The detected field types, represented as a set of autofill hints.

Attributes

Remarks

Detected field types represented as autofill hints.

A particular field can be detected as multiple types. For example, a sign-in field may accept a username, an email address or a phone number. In such cases, it should be detected as "username", "emailAddress" and "phoneNumber"

The value of these hints are contained in androidx.autofill.HintConstants

Java documentation for android.service.assist.classification.FieldClassification.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