TranslationCapability.StateNotAvailable 字段

定义

注意

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_AVAILABLEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于