Partager via


TranslationContext.Builder(TranslationSpec, TranslationSpec) Constructor

Definition

Creates a new Builder.

[Android.Runtime.Register(".ctor", "(Landroid/view/translation/TranslationSpec;Landroid/view/translation/TranslationSpec;)V", "", ApiSince=31)]
public Builder (Android.Views.Translation.TranslationSpec sourceSpec, Android.Views.Translation.TranslationSpec targetSpec);
[<Android.Runtime.Register(".ctor", "(Landroid/view/translation/TranslationSpec;Landroid/view/translation/TranslationSpec;)V", "", ApiSince=31)>]
new Android.Views.Translation.TranslationContext.Builder : Android.Views.Translation.TranslationSpec * Android.Views.Translation.TranslationSpec -> Android.Views.Translation.TranslationContext.Builder

Parameters

sourceSpec
TranslationSpec

TranslationSpec describing the source data to be translated.

targetSpec
TranslationSpec

TranslationSpec describing the target translated data.

Attributes

Remarks

Creates a new Builder.

Java documentation for android.view.translation.TranslationContext.Builder.TranslationContext$Builder(android.view.translation.TranslationSpec, android.view.translation.TranslationSpec).

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