CharSequenceTransformation.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CharSequenceTransformation.Builder(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| 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)
Creates a managed instance that represents an existing Java object.
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
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
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.
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.