Language

TranslationRequestFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TranslationRequestFlags
[<System.Flags>]
type TranslationRequestFlags = 
Inheritance
TranslationRequestFlags
Attributes

Fields

Name Value Description
TranslationResult 1
DictionaryResult 2

Indicates this request wants to receive the dictionary result.

Android reference for android.view.translation.TranslationRequest.FLAG_DICTIONARY_RESULT.

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.

TransliterationResult 4

Indicates this request wants to receive the transliteration result.

Android reference for android.view.translation.TranslationRequest.FLAG_TRANSLITERATION_RESULT.

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.

PartialResponses 8

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.

Android reference 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