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 屬性授權中所述的詞彙使用。

適用於