Dela via


MediaMetadataRetriever.MetadataKeyImageRotation Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.MetadataKey enum directly instead of this field.

If the media contains still images, this key retrieves the rotation angle (in degrees clockwise) of the primary image.

[Android.Runtime.Register("METADATA_KEY_IMAGE_ROTATION", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.MetadataKey enum directly instead of this field.", true)]
public const Android.Media.MetadataKey MetadataKeyImageRotation = 31;
[<Android.Runtime.Register("METADATA_KEY_IMAGE_ROTATION", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.MetadataKey enum directly instead of this field.", true)>]
val mutable MetadataKeyImageRotation : Android.Media.MetadataKey

Field Value

Value = 31
Attributes

Remarks

If the media contains still images, this key retrieves the rotation angle (in degrees clockwise) of the primary image. The image rotation angle must be one of 0, 90, 180, or 270 degrees.

Java documentation for android.media.MediaMetadataRetriever.METADATA_KEY_IMAGE_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