Language

FillResponse.Builder.SetDetectedFieldClassifications Method

Definition

Adds a new FieldClassification to this response, to help the platform provide more accurate detection results.

[Android.Runtime.Register("setDetectedFieldClassifications", "(Ljava/util/Set;)Landroid/service/autofill/FillResponse$Builder;", "", ApiSince=34)]
public Android.Service.Autofill.FillResponse.Builder SetDetectedFieldClassifications(System.Collections.Generic.ICollection<Android.Service.Assist.Classification.FieldClassification> fieldInfos);
[<Android.Runtime.Register("setDetectedFieldClassifications", "(Ljava/util/Set;)Landroid/service/autofill/FillResponse$Builder;", "", ApiSince=34)>]
member this.SetDetectedFieldClassifications : System.Collections.Generic.ICollection<Android.Service.Assist.Classification.FieldClassification> -> Android.Service.Autofill.FillResponse.Builder

Parameters

Returns

Attributes

Remarks

Adds a new FieldClassification to this response, to help the platform provide more accurate detection results. Call this when a field has been detected with a type. Although similarly named with setFieldClassificationIds(AutofillId), it provides a different functionality - setFieldClassificationIds should be used when a field is only suspected to be Autofillable. This method should be used when a field is certainly Autofillable with a certain type.

Android reference for android.service.autofill.FillResponse.Builder.setDetectedFieldClassifications.

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