Share via


ImageTransformation.Builder Constructors

Definition

Overloads

ImageTransformation.Builder(IntPtr, JniHandleOwnership)
ImageTransformation.Builder(AutofillId, Pattern, Int32)

Creates a new builder for a autofill id and add a first option.

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

Creates a new builder for a autofill id and add a first option.

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

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

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

ImageTransformation.Builder(AutofillId, Pattern, Int32)

Creates a new builder for a autofill id and add a first option.

[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

Parameters

id
AutofillId

id of the screen field that will be used to evaluate whether the image should be used.

regex
Pattern

regular expression defining what should be matched to use this image.

resId
Int32

resource id of the image (in the autofill service's package). The RemoteViews presentation must contain a ImageView child with that id.

Attributes

Remarks

Creates a new builder for a autofill id and add a first option.

This member is deprecated. use #Builder(AutofillId, Pattern, int, CharSequence) instead.

Java documentation for android.service.autofill.ImageTransformation.Builder.ImageTransformation$Builder(android.view.autofill.AutofillId, java.util.regex.Pattern, int).

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

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

Creates a new builder for a autofill id and add a first option.

[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

Parameters

id
AutofillId

id of the screen field that will be used to evaluate whether the image should be used.

regex
Pattern

regular expression defining what should be matched to use this image.

resId
Int32

resource id of the image (in the autofill service's package). The RemoteViews presentation must contain a ImageView child with that id.

contentDescription
ICharSequence

content description to be applied in the child view.

Attributes

Remarks

Creates a new builder for a autofill id and add a first option.

Java documentation for android.service.autofill.ImageTransformation.Builder.ImageTransformation$Builder(android.view.autofill.AutofillId, java.util.regex.Pattern, int, java.lang.CharSequence).

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

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

Parameters

regex
Pattern
resId
Int32
contentDescription
String
Attributes

Applies to