Mp4OrientationData


@UnstableApi
class Mp4OrientationData : Metadata.Entry


Stores the orientation hint for the video playback.

Summary

Public constructors

Mp4OrientationData(orientation: Int)

Creates an instance.

Public functions

Int
Boolean
equals(obj: Any?)
Int
String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

Int

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.

Constants

CREATOR

const val CREATORParcelable.Creator<Mp4OrientationData!>!

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

describeContents

fun describeContents(): Int

equals

fun equals(obj: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

orientation

val orientationInt