Language

Dataset.Builder.SetFieldForAllHints(Field) Method

Definition

Adds a field to this Dataset that is relevant to all applicable hints.

[Android.Runtime.Register("setFieldForAllHints", "(Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=34)]
public Android.Service.Autofill.Dataset.Builder SetFieldForAllHints(Android.Service.Autofill.Field field);
[<Android.Runtime.Register("setFieldForAllHints", "(Landroid/service/autofill/Field;)Landroid/service/autofill/Dataset$Builder;", "", ApiSince=34)>]
member this.SetFieldForAllHints : Android.Service.Autofill.Field -> Android.Service.Autofill.Dataset.Builder

Parameters

field
Field

the fill information about the field. This value cannot be null.

Returns

this builder. This value cannot be null.

Attributes

Remarks

Adds a field to this Dataset that is relevant to all applicable hints. This is used to provide field information when autofill with platform detections is enabled. Platform detections are on when receiving a populated list from FillRequest#getHints().

Android reference for android.service.autofill.Dataset.Builder.setFieldForAllHints.

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