語言

TranslationRequestValue.ForText 方法

定義

多載

名稱 Description
ForText(ICharSequence)

創造 TranslationRequestValue 一個值 CharSequence ;

ForText(String)

創造 TranslationRequestValue 一個值 CharSequence ;

ForText(ICharSequence)

創造 TranslationRequestValue 一個值 CharSequence ;

[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

參數

text
ICharSequence

待翻譯的文本。

傳回

一個包含所提供文本的翻譯請求值。

屬性

備註

創造 TranslationRequestValue 一個值 CharSequence ;

Java 文件 android.view.translation.TranslationRequestValue.forText(java.lang.CharSequence)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

ForText(String)

創造 TranslationRequestValue 一個值 CharSequence ;

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

參數

text
String

待翻譯的文本。

傳回

一個包含所提供文本的翻譯請求值。

備註

創造 TranslationRequestValue 一個值 CharSequence ;

Java 文件 android.view.translation.TranslationRequestValue.forText(java.lang.CharSequence)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於