Condividi tramite


ViewTranslationRequest.Builder Constructors

Definition

Overloads

ViewTranslationRequest.Builder(AutofillId)

Creates a new Builder.

ViewTranslationRequest.Builder(AutofillId, Int64)

Creates a new Builder.

ViewTranslationRequest.Builder(AutofillId)

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;)V", "", ApiSince=31)]
public Builder (Android.Views.Autofill.AutofillId autofillId);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;)V", "", ApiSince=31)>]
new Android.Views.Translation.ViewTranslationRequest.Builder : Android.Views.Autofill.AutofillId -> Android.Views.Translation.ViewTranslationRequest.Builder

Parameters

autofillId
AutofillId

The AutofillId of the view associated with this request.

Attributes

Remarks

Creates a new Builder.

Java documentation for android.view.translation.ViewTranslationRequest.Builder.ViewTranslationRequest$Builder(android.view.autofill.AutofillId).

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

ViewTranslationRequest.Builder(AutofillId, Int64)

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;J)V", "", ApiSince=31)]
public Builder (Android.Views.Autofill.AutofillId autofillId, long virtualChildId);
[<Android.Runtime.Register(".ctor", "(Landroid/view/autofill/AutofillId;J)V", "", ApiSince=31)>]
new Android.Views.Translation.ViewTranslationRequest.Builder : Android.Views.Autofill.AutofillId * int64 -> Android.Views.Translation.ViewTranslationRequest.Builder

Parameters

autofillId
AutofillId

the AutofillId of the non-virtual view hosting the virtual view hierarchy associated with this request.

virtualChildId
Int64

the id of the virtual view in the host view. This id is the same virtual id provided through content capture.

Attributes

Remarks

Creates a new Builder.

Java documentation for android.view.translation.ViewTranslationRequest.Builder.ViewTranslationRequest$Builder(android.view.autofill.AutofillId, long).

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