TranslationState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the availability of translation between a source and target specification.
public enum TranslationState
type TranslationState =
- Inheritance
-
TranslationState
Fields
| Name | Value | Description |
|---|---|---|
| AvailableToDownload | 1 | Translation between the source and target specifications is supported and ready to be downloaded. |
| Downloading | 2 | Translation between the source and target specifications is supported and is being downloaded. |
| OnDevice | 3 | Translation between the source and target specifications is downloaded and ready for use on the device. |
| NotAvailable | 4 | The translation service does not support translation between the source and target specs. Note: This state is not returned from calling TranslationManager.getOnDeviceTranslationCapabilities. This state will only appear as part of capability updates from TranslationManager.addOnDeviceTranslationCapabilityUpdateListener if existing support was dropped. Android reference for 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. |
Remarks
These values correspond to the public STATE_ constants in Android's TranslationCapability. Each capability has one state, not a combination of flags.