次の方法で共有


MediaFormat.KeyRotation Field

Definition

A key describing the desired clockwise rotation on an output surface.

[Android.Runtime.Register("KEY_ROTATION", ApiSince=23)]
public const string KeyRotation;
[<Android.Runtime.Register("KEY_ROTATION", ApiSince=23)>]
val mutable KeyRotation : string

Field Value

Attributes

Remarks

A key describing the desired clockwise rotation on an output surface. This key is only used when the codec is configured using an output surface. The associated value is an integer, representing degrees. Supported values are 0, 90, 180 or 270. This is an optional field; if not specified, rotation defaults to 0.

Java documentation for android.media.MediaFormat.KEY_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