ViewTranslationRequest.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 TranslationRequestValue for the provided key.
[Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationRequestValue;)Landroid/view/translation/ViewTranslationRequest$Builder;", "", ApiSince=31)]
public Android.Views.Translation.ViewTranslationRequest.Builder SetValue(string key, Android.Views.Translation.TranslationRequestValue value);
[<Android.Runtime.Register("setValue", "(Ljava/lang/String;Landroid/view/translation/TranslationRequestValue;)Landroid/view/translation/ViewTranslationRequest$Builder;", "", ApiSince=31)>]
member this.SetValue : string * Android.Views.Translation.TranslationRequestValue -> Android.Views.Translation.ViewTranslationRequest.Builder
Parameters
- key
- String
The key for this translation request value. This value cannot be null.
- value
- TranslationRequestValue
the translation request value holding the content to be translated. This value cannot be null.
Returns
this builder. This value cannot be null.
- Attributes
Remarks
Sets the corresponding TranslationRequestValue for the provided key.
Android reference for android.view.translation.ViewTranslationRequest.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.