Back to Exoplayer

Metadata.Entry (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/Metadata.Entry.html

latest3.7 KB
Original Source

Package com.google.android.exoplayer2.metadata

Interface Metadata.Entry

  • All Superinterfaces:ParcelableAll Known Implementing Classes:ApicFrame, AppInfoTable, BinaryFrame, ChapterFrame, ChapterTocFrame, CommentFrame, CreationTime, EventMessage, FakeMetadataEntry, GeobFrame, HlsTrackMetadataEntry, IcyHeaders, IcyInfo, Id3Frame, InternalFrame, MdtaMetadataEntry, MlltFrame, MotionPhotoMetadata, Mp4LocationData, PictureFrame, PrivateCommand, PrivFrame, SlowMotionData, SmtaMetadataEntry, SpliceCommand, SpliceInsertCommand, SpliceNullCommand, SpliceScheduleCommand, TextInformationFrame, TimeSignalCommand, UrlLinkFrame, VorbisComment, VorbisComment, XmpDataEnclosing class:Metadata

public static interfaceMetadata.Entryextends[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html "class or interface in android.os")

A metadata entry.

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 inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Method Summary

All Methods Instance Methods Default Methods | Modifier and Type | Method | Description | | --- | --- | --- | | default byte[] | getWrappedMetadataBytes() | Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata. | | default Format | getWrappedMetadataFormat() | Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes(), or null if this Entry doesn't contain wrapped metadata. | | default void | populateMediaMetadata​(MediaMetadata.Builder builder) | Updates the MediaMetadata.Builder with the type-specific values stored in this Entry. |

- 

Methods inherited from interface android.os.Parcelable

describeContents, writeToParcel

Method Detail

- 

getWrappedMetadataFormat

@Nullable
default[Format](../Format.html "class in com.google.android.exoplayer2")getWrappedMetadataFormat()

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

- 

getWrappedMetadataBytes

@Nullable
default byte[] getWrappedMetadataBytes()

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

- 

populateMediaMetadata

default void populateMediaMetadata​([MediaMetadata.Builder](../MediaMetadata.Builder.html "class in com.google.android.exoplayer2")builder)

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry. Parameters:builder - The builder to be updated.