TranslationResponse.Builder.SetTranslationResponseValue 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.
Adds a translated TranslationResponseValue.
[Android.Runtime.Register("setTranslationResponseValue", "(ILandroid/view/translation/TranslationResponseValue;)Landroid/view/translation/TranslationResponse$Builder;", "", ApiSince=31)]
public Android.Views.Translation.TranslationResponse.Builder SetTranslationResponseValue(int index, Android.Views.Translation.TranslationResponseValue value);
[<Android.Runtime.Register("setTranslationResponseValue", "(ILandroid/view/translation/TranslationResponseValue;)Landroid/view/translation/TranslationResponse$Builder;", "", ApiSince=31)>]
member this.SetTranslationResponseValue : int * Android.Views.Translation.TranslationResponseValue -> Android.Views.Translation.TranslationResponse.Builder
Parameters
- index
- Int32
The index of the corresponding value in the translation request's value list.
- value
- TranslationResponseValue
the translated value. This value cannot be null.
Returns
this Builder. This value cannot be null.
- Attributes
Remarks
Adds a translated TranslationResponseValue. The input TranslationResponseValue format should match those provided by the Translator's targetSpec.
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.