TranslationRequestValue.ForText 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ForText(ICharSequence) |
創造 |
| ForText(String) |
創造 |
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。