public interface

Metadata.Entry

 androidx.media3.common.Metadata.Entry

Subclasses:

HlsTrackMetadataEntry, Mp4TimestampData, XmpData, Mp4OrientationData, MdtaMetadataEntry, Mp4LocationData, VorbisComment, AppInfoTable, SmtaMetadataEntry, SlowMotionData, MdtaMetadataEntry, MotionPhotoMetadata, IcyHeaders, IcyInfo, SpliceScheduleCommand, TimeSignalCommand, SpliceInsertCommand, PrivateCommand, SpliceCommand, SpliceNullCommand, UrlLinkFrame, ChapterFrame, InternalFrame, GeobFrame, ApicFrame, Id3Frame, ChapterTocFrame, TextInformationFrame, PrivFrame, CommentFrame, BinaryFrame, MlltFrame, EventMessage, PictureFrame, VorbisComment, FakeMetadataEntry

Overview

A metadata entry.

Summary

Methods
public byte[]getWrappedMetadataBytes()

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

public FormatgetWrappedMetadataFormat()

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

public voidpopulateMediaMetadata(MediaMetadata.Builder builder)

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

Methods

public Format getWrappedMetadataFormat()

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

public byte[] getWrappedMetadataBytes()

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

public void populateMediaMetadata(MediaMetadata.Builder builder)

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

Parameters:

builder: The builder to be updated.