TranslationRequestValue.ForText 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
ForText(ICharSequence) |
Creates a |
ForText(String) |
Creates a |
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;
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;
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.