Udostępnij za pośrednictwem


FieldClassification.Hints Property

Definition

Detected fields 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

Attributes

Remarks

Detected fields types represented as autofill hints.

A particular field can be detected as multiple types. For eg: A sign-in field may take in 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