TranslationRequest.FlagPartialResponses Field

Definition

Caution

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

Indicates this request is willing to accept partial responses.

[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

Field Value

Value = 8

Implements

Attributes

Remarks

Indicates this request is willing to accept partial responses.

The partial responses can be accessed by TranslationResponse#getTranslationResponseValues() or TranslationResponse#getViewTranslationResponses(). These responses will each contain only a subset of the corresponding translated values.

The are no guarantees to the number of translated values or the order in which these values are returned in the TranslationResponse.

This flag denotes the client can expect multiple partial responses, but there may not necessarily be multiple responses.

Java documentation for android.view.translation.TranslationRequest.FLAG_PARTIAL_RESPONSES.

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