SmtaMetadataEntry


@UnstableApi
class SmtaMetadataEntry : Metadata.Entry


Stores metadata from the Samsung smta box.

See [Internal: b/150138465#comment76], [Internal: b/301273734#comment17].

Summary

Public constructors

SmtaMetadataEntry(captureFrameRate: Float, svcTemporalLayerCount: Int)

Creates an instance.

Public functions

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

Public properties

Float

The capture frame rate, in fps, or RATE_UNSET if it is unknown.

Int

The number of layers in the SVC extended frames.

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<SmtaMetadataEntry!>!

Public constructors

SmtaMetadataEntry

SmtaMetadataEntry(captureFrameRate: Float, svcTemporalLayerCount: Int)

Creates an instance.

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

captureFrameRate

val captureFrameRateFloat

The capture frame rate, in fps, or RATE_UNSET if it is unknown.

If known, the capture frame rate should always be an integer value.

svcTemporalLayerCount

val svcTemporalLayerCountInt

The number of layers in the SVC extended frames.