Compartilhar via


TranslationCapability.StateOnDevice 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 supports translation between the source and target specs, and it is downloaded and ready to use on device.

[Android.Runtime.Register("STATE_ON_DEVICE", 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 StateOnDevice = 3;
[<Android.Runtime.Register("STATE_ON_DEVICE", 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 StateOnDevice : Android.Views.Translation.TranslationState

Field Value

Value = 3

Implements

Attributes

Remarks

The translation service supports translation between the source and target specs, and it is downloaded and ready to use on device.

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

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