Back to Exoplayer

SmtaMetadataEntry (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/mp4/SmtaMetadataEntry.html

latest5.1 KB
Original Source

Package com.google.android.exoplayer2.metadata.mp4

Class SmtaMetadataEntry

  • java.lang.Object

    • com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry
  • All Implemented Interfaces:Parcelable, Metadata.Entry


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classSmtaMetadataEntryextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Metadata.Entry](../Metadata.Entry.html "interface in com.google.android.exoplayer2.metadata")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Stores metadata from the Samsung smta box.

See [Internal: b/150138465#comment76].

Nested Class Summary

- 

Nested classes/interfaces inherited from interface android.os.Parcelable

Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | float | captureFrameRate | Deprecated.

The capture frame rate, in fps, or C.RATE_UNSET if it is unknown. | | static Parcelable.Creator<SmtaMetadataEntry> | CREATOR | Deprecated. | | int | svcTemporalLayerCount | Deprecated.

The number of layers in the SVC extended frames. |

- 

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SmtaMetadataEntry​(float captureFrameRate, int svcTemporalLayerCount) | Deprecated.

Creates an instance. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | int | describeContents() | Deprecated. | | boolean | equals​(Object obj) | Deprecated. | | int | hashCode() | Deprecated. | | String | toString() | Deprecated. | | void | writeToParcel​(Parcel dest, int flags) | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, finalize, getClass, notify, notifyAll, wait, wait, wait

- 

Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry

getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata

Field Detail

- 

captureFrameRate

public final float captureFrameRate

Deprecated.

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

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

- 

svcTemporalLayerCount

public final int svcTemporalLayerCount

Deprecated.

The number of layers in the SVC extended frames.

- 

CREATOR

public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[SmtaMetadataEntry](SmtaMetadataEntry.html "class in com.google.android.exoplayer2.metadata.mp4")> CREATOR

Deprecated.

Constructor Detail

- 

SmtaMetadataEntry

public SmtaMetadataEntry​(float captureFrameRate,
                         int svcTemporalLayerCount)

Deprecated.

Creates an instance.

Method Detail

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object

- 

toString

public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()

Deprecated. Overrides:toString in class Object

- 

writeToParcel

public void writeToParcel​([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
                          int flags)

Deprecated. Specified by:writeToParcel in interface Parcelable

- 

describeContents

public int describeContents()

Deprecated. Specified by:describeContents in interface Parcelable