Mp4OrientationData


@UnstableApi
class Mp4OrientationData : Metadata.Entry


Stores the orientation hint for the video playback.

The orientation hint is typically read/written in the "tkhd" box (track header box, defined in ISO/IEC 14496-12).

Summary

Public constructors

Mp4OrientationData(orientation: Int)

Creates an instance.

Public functions

Boolean
equals(obj: Any?)
Int
String!

Public properties

Int

The orientation, in degrees.

Inherited functions

From androidx.media3.common.Metadata.Entry
ByteArray<Byte>?

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

Format?

Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.

Unit

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

Public constructors

Mp4OrientationData

Mp4OrientationData(orientation: Int)

Creates an instance.

Parameters
orientation: Int

The orientation, in degrees. The supported values are 0, 90, 180 and 270 (degrees).

Public functions

equals

fun equals(obj: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

orientation

val orientationInt

The orientation, in degrees.