Partager via


MediaCodec.MetricsConstants.Rotation Field

Definition

Key to extract the rotation (in degrees) to properly orient the video from the MediaCodec#getMetrics return.

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

Field Value

Attributes

Remarks

Key to extract the rotation (in degrees) to properly orient the video from the MediaCodec#getMetrics return. The value is a integer.

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

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