語言

TranslationRequest.FlagPartialResponses 欄位

定義

警告

This constant will be removed in the future version. Use Android.Views.Translation.TranslationRequestFlags enum directly instead of this field.

表示此請求願意接受部分回覆。

[Android.Runtime.Register("FLAG_PARTIAL_RESPONSES", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Translation.TranslationRequestFlags enum directly instead of this field.", true)]
public const Android.Views.Translation.TranslationRequestFlags FlagPartialResponses = 8;
[<Android.Runtime.Register("FLAG_PARTIAL_RESPONSES", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Translation.TranslationRequestFlags enum directly instead of this field.", true)>]
val mutable FlagPartialResponses : Android.Views.Translation.TranslationRequestFlags

欄位值

Value = 8

實作

屬性

備註

表示此請求願意接受部分回覆。

部分回應可透過或TranslationResponse#getTranslationResponseValues()TranslationResponse#getViewTranslationResponses()存取。 這些回應只會包含對應翻譯值的子集。

對於翻譯值的數量或這些值在 中回傳 TranslationResponse的順序,都無法保證。

此標誌表示客戶可以預期多個部分回應,但不一定會有多個回應。

Java 文件 android.view.translation.TranslationRequest.FLAG_PARTIAL_RESPONSES。

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

適用於