TranslationResponseValue.Builder.SetText 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.
Overloads
| Name | Description |
|---|---|
| SetText(ICharSequence) |
Sets the translated text result. |
| SetText(String) |
Sets the translated text result. |
SetText(ICharSequence)
Sets the translated text result.
[Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/view/translation/TranslationResponseValue$Builder;", "", ApiSince=31)]
public Android.Views.Translation.TranslationResponseValue.Builder SetText(Java.Lang.ICharSequence value);
[<Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;)Landroid/view/translation/TranslationResponseValue$Builder;", "", ApiSince=31)>]
member this.SetText : Java.Lang.ICharSequence -> Android.Views.Translation.TranslationResponseValue.Builder
Parameters
- value
- ICharSequence
The translated text result.
Returns
This builder instance.
- Attributes
Remarks
The translated text result.
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
SetText(String)
Sets the translated text result.
public Android.Views.Translation.TranslationResponseValue.Builder SetText(string value);
member this.SetText : string -> Android.Views.Translation.TranslationResponseValue.Builder
Parameters
- value
- String
The translated text result.
Returns
This builder instance.
Remarks
The translated text result.
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.