TranslationCapability.StateNotAvailable 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Views.Translation.TranslationState enum directly instead of this field.
翻译服务不支持源和目标规格之间的翻译。
[Android.Runtime.Register("STATE_NOT_AVAILABLE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Translation.TranslationState enum directly instead of this field.", true)]
public const Android.Views.Translation.TranslationState StateNotAvailable = 4;
[<Android.Runtime.Register("STATE_NOT_AVAILABLE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Translation.TranslationState enum directly instead of this field.", true)>]
val mutable StateNotAvailable : Android.Views.Translation.TranslationState
字段值
Value = 4实现
- 属性
注解
翻译服务不支持源和目标规格之间的翻译。
注意:此状态不是从调用 TranslationManager#getOnDeviceTranslationCapabilities
返回的。 只有在删除现有支持后,此状态才会显示为功能更新 TranslationManager#addOnDeviceTranslationCapabilityUpdateListener
的一部分。
适用于 . 的 android.view.translation.TranslationCapability.STATE_NOT_AVAILABLE
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。