Share via


MediaCodec.MetricsConstants.Encoder Field

Definition

Key to extract the flag indicating whether the codec is running as an encoder or decoder from the MediaCodec#getMetrics return value.

[Android.Runtime.Register("ENCODER", ApiSince=26)]
public const string Encoder;
[<Android.Runtime.Register("ENCODER", ApiSince=26)>]
val mutable Encoder : string

Field Value

Attributes

Remarks

Key to extract the flag indicating whether the codec is running as an encoder or decoder from the MediaCodec#getMetrics return value. The value is an integer. A 0 indicates decoder; 1 indicates encoder.

Java documentation for android.media.MediaCodec.MetricsConstants.ENCODER.

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