TextValueSanitizer(Pattern, String) Constructor
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.
Default constructor.
[Android.Runtime.Register(".ctor", "(Ljava/util/regex/Pattern;Ljava/lang/String;)V", "", ApiSince=28)]
public TextValueSanitizer (Java.Util.Regex.Pattern regex, string subst);
[<Android.Runtime.Register(".ctor", "(Ljava/util/regex/Pattern;Ljava/lang/String;)V", "", ApiSince=28)>]
new Android.Service.Autofill.TextValueSanitizer : Java.Util.Regex.Pattern * string -> Android.Service.Autofill.TextValueSanitizer
Parameters
- regex
- Pattern
regular expression with groups (delimited by (
and (
) that
are used to substitute parts of the AutofillValue#getTextValue() text 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
Default constructor.
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.