Share via


FieldClassification(AutofillId, ICollection<String>) Constructor

Definition

Creates a new FieldClassification.

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/Set;)V", "", ApiSince=34)]
public FieldClassification (Android.Views.Autofill.AutofillId autofillId, System.Collections.Generic.ICollection<string> hints);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/Set;)V", "", ApiSince=34)>]
new Android.Service.Assist.Classification.FieldClassification : Android.Views.Autofill.AutofillId * System.Collections.Generic.ICollection<string> -> Android.Service.Assist.Classification.FieldClassification

Parameters

autofillId
AutofillId

Autofill id of the detected field

hints
ICollection<String>

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"

Attributes

Remarks

Creates a new FieldClassification.

Java documentation for android.service.assist.classification.FieldClassification.FieldClassification(android.view.autofill.AutofillId, java.util.Set<java.lang.String>).

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