Language

ViewTranslationResponse.Builder.SetValue Method

Definition

Sets the corresponding TranslationResponseValue for the provided key.

[Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationResponseValue;)Landroid/view/translation/ViewTranslationResponse$Builder;", "", ApiSince=31)]
public Android.Views.Translation.ViewTranslationResponse.Builder? SetValue(string? key, Android.Views.Translation.TranslationResponseValue? value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationResponseValue;)Landroid/view/translation/ViewTranslationResponse$Builder;", "", ApiSince=31)>]
member this.SetValue : string * Android.Views.Translation.TranslationResponseValue -> Android.Views.Translation.ViewTranslationResponse.Builder

Parameters

key
String

The key for this translation response value.

value
TranslationResponseValue

the translation response value holding the translated content.

Returns

this builder.

Attributes

Remarks

Sets the corresponding TranslationResponseValue for the provided key.

Android reference for android.view.translation.ViewTranslationResponse.Builder.setValue.

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