ImageTransformation.Builder 构造函数

定义

重载

ImageTransformation.Builder(IntPtr, JniHandleOwnership)

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

参数

javaReference
IntPtr

nativeint

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

ImageTransformation.Builder(AutofillId, Pattern, Int32)

为自动填充 ID 创建新的生成器并添加第一个选项。

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

参数

id
AutofillId

将用于评估是否应使用图像的屏幕字段的 ID。

regex
Pattern

定义应匹配的内容以使用此图像的正则表达式。

resId
Int32

映像的资源 ID(在自动填充服务的包中)。 必须 RemoteViews presentation 包含 ImageView 具有该 ID 的子级。

属性

注解

为自动填充 ID 创建新的生成器并添加第一个选项。

此成员已弃用。 请改用 #Builder(AutofillId, Pattern, int, CharSequence)

适用于 . 的 android.service.autofill.ImageTransformation.Builder.ImageTransformation$Builder(android.view.autofill.AutofillId, java.util.regex.Pattern, int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

ImageTransformation.Builder(AutofillId, Pattern, Int32, ICharSequence)

为自动填充 ID 创建新的生成器并添加第一个选项。

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;ILjava/lang/CharSequence;)V", "", ApiSince=28)]
public Builder(Android.Views.Autofill.AutofillId id, Java.Util.Regex.Pattern regex, int resId, Java.Lang.ICharSequence contentDescription);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;ILjava/lang/CharSequence;)V", "", ApiSince=28)>]
new Android.Service.Autofill.ImageTransformation.Builder : Android.Views.Autofill.AutofillId * Java.Util.Regex.Pattern * int * Java.Lang.ICharSequence -> Android.Service.Autofill.ImageTransformation.Builder

参数

id
AutofillId

将用于评估是否应使用图像的屏幕字段的 ID。

regex
Pattern

定义应匹配的内容以使用此图像的正则表达式。

resId
Int32

映像的资源 ID(在自动填充服务的包中)。 必须 RemoteViews presentation 包含 ImageView 具有该 ID 的子级。

contentDescription
ICharSequence

要应用于子视图中的内容说明。

属性

注解

为自动填充 ID 创建新的生成器并添加第一个选项。

适用于 . 的 android.service.autofill.ImageTransformation.Builder.ImageTransformation$Builder(android.view.autofill.AutofillId, java.util.regex.Pattern, int, java.lang.CharSequence)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

ImageTransformation.Builder(AutofillId, Pattern, Int32, String)

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;ILjava/lang/CharSequence;)V", "", ApiSince=28)]
public Builder(Android.Views.Autofill.AutofillId id, Java.Util.Regex.Pattern regex, int resId, string contentDescription);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;Ljava/util/regex/Pattern;ILjava/lang/CharSequence;)V", "", ApiSince=28)>]
new Android.Service.Autofill.ImageTransformation.Builder : Android.Views.Autofill.AutofillId * Java.Util.Regex.Pattern * int * string -> Android.Service.Autofill.ImageTransformation.Builder

参数

regex
Pattern
resId
Int32
contentDescription
String
属性

适用于