语言

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。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于