Share via


TranslationRequestValue.ForText Method

Definition

Overloads

ForText(ICharSequence)

Creates a TranslationRequestValue with a CharSequence value;

ForText(String)

Creates a TranslationRequestValue with a CharSequence value;

ForText(ICharSequence)

Creates a TranslationRequestValue with a CharSequence value;

[Android.Runtime.Register("forText", "(Ljava/lang/CharSequence;)Landroid/view/translation/TranslationRequestValue;", "", ApiSince=31)]
public static Android.Views.Translation.TranslationRequestValue ForText (Java.Lang.ICharSequence text);
[<Android.Runtime.Register("forText", "(Ljava/lang/CharSequence;)Landroid/view/translation/TranslationRequestValue;", "", ApiSince=31)>]
static member ForText : Java.Lang.ICharSequence -> Android.Views.Translation.TranslationRequestValue

Parameters

text
ICharSequence

the text to be translated.

Returns

Attributes

Remarks

Creates a TranslationRequestValue with a CharSequence value;

Java documentation for android.view.translation.TranslationRequestValue.forText(java.lang.CharSequence).

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

ForText(String)

Creates a TranslationRequestValue with a CharSequence value;

public static Android.Views.Translation.TranslationRequestValue ForText (string text);
static member ForText : string -> Android.Views.Translation.TranslationRequestValue

Parameters

text
String

the text to be translated.

Returns

Remarks

Creates a TranslationRequestValue with a CharSequence value;

Java documentation for android.view.translation.TranslationRequestValue.forText(java.lang.CharSequence).

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