ViewTranslationResponse.Builder.SetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.