Language

Field.Builder.SetFilter(Pattern) Method

Definition

Regex used to determine if the dataset should be shown in the autofill UI; when null, it disables filtering on that dataset (this is the recommended approach when value is not null and field contains sensitive data such as passwords).

[Android.Runtime.Register("setFilter", "(Ljava/util/regex/Pattern;)Landroid/service/autofill/Field$Builder;", "", ApiSince=33)]
public Android.Service.Autofill.Field.Builder SetFilter(Java.Util.Regex.Pattern? value);
[<Android.Runtime.Register("setFilter", "(Ljava/util/regex/Pattern;)Landroid/service/autofill/Field$Builder;", "", ApiSince=33)>]
member this.SetFilter : Java.Util.Regex.Pattern -> Android.Service.Autofill.Field.Builder

Parameters

value
Pattern

Returns

Attributes

Remarks

Regex used to determine if the dataset should be shown in the autofill UI; when null, it disables filtering on that dataset (this is the recommended approach when value is not null and field contains sensitive data such as passwords).

Android reference for android.service.autofill.Field.Builder.setFilter.

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