TranslationCapability.StateNotAvailable Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.Translation.TranslationState enum directly instead of this field.

The translation service does not support translation between the source and target specs.

[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

Field Value

Value = 4

Implements

Attributes

Remarks

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.

Java documentation for android.view.translation.TranslationCapability.STATE_NOT_AVAILABLE.

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