Share via


CharSequenceTransformation.Builder Constructors

Definition

Overloads

CharSequenceTransformation.Builder(IntPtr, JniHandleOwnership)
CharSequenceTransformation.Builder(AutofillId, Pattern, String)

Creates a new builder and adds the first transformed contents of a field to the overall result of this transformation.

CharSequenceTransformation.Builder(IntPtr, JniHandleOwnership)

protected Builder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Autofill.CharSequenceTransformation.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Autofill.CharSequenceTransformation.Builder

Parameters

javaReference
IntPtr

nativeint

Remarks

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

CharSequenceTransformation.Builder(AutofillId, Pattern, String)

Creates a new builder and adds the first transformed contents of a field to the overall result of this transformation.

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;Ljava/lang/String;)V", "", ApiSince=27)]
public Builder (Android.Views.Autofill.AutofillId id, Java.Util.Regex.Pattern regex, string subst);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;Ljava/lang/String;)V", "", ApiSince=27)>]
new Android.Service.Autofill.CharSequenceTransformation.Builder : Android.Views.Autofill.AutofillId * Java.Util.Regex.Pattern * string -> Android.Service.Autofill.CharSequenceTransformation.Builder

Parameters

id
AutofillId

id of the screen field.

regex
Pattern

regular expression with groups (delimited by ( and () that are used to substitute parts of the value.

subst
String

the string that substitutes the matched regex, using $ for group substitution ($1 for 1st group match, $2 for 2nd, etc).

Attributes

Remarks

Creates a new builder and adds the first transformed contents of a field to the overall result of this transformation.

Java documentation for android.service.autofill.CharSequenceTransformation.Builder.CharSequenceTransformation$Builder(android.view.autofill.AutofillId, java.util.regex.Pattern, 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