> Documentation index: https://developer.android.com/reference/llms.txt

# Metadata.Entry

Artifact: [androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/media3/common/Metadata.java+class:androidx.media3.common.Metadata.Entry)

*** ** * ** ***


```
public interface Metadata.Entry
```

<br />

Known direct subclasses [AppInfoTable](https://developer.android.com/reference/androidx/media3/extractor/metadata/dvbsi/AppInfoTable.md.txt), [Chapter](https://developer.android.com/reference/androidx/media3/extractor/metadata/Chapter.md.txt), [EventMessage](https://developer.android.com/reference/androidx/media3/extractor/metadata/emsg/EventMessage.md.txt), [FakeMetadataEntry](https://developer.android.com/reference/androidx/media3/test/utils/FakeMetadataEntry.md.txt), [HlsTrackMetadataEntry](https://developer.android.com/reference/androidx/media3/exoplayer/hls/HlsTrackMetadataEntry.md.txt), [IcyHeaders](https://developer.android.com/reference/androidx/media3/extractor/metadata/icy/IcyHeaders.md.txt), [IcyInfo](https://developer.android.com/reference/androidx/media3/extractor/metadata/icy/IcyInfo.md.txt), [Id3Frame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/Id3Frame.md.txt), [MdtaMetadataEntry](https://developer.android.com/reference/androidx/media3/container/MdtaMetadataEntry.md.txt), [MotionPhotoMetadata](https://developer.android.com/reference/androidx/media3/extractor/metadata/MotionPhotoMetadata.md.txt), [Mp3InfoReplayGain](https://developer.android.com/reference/androidx/media3/extractor/mp3/Mp3InfoReplayGain.md.txt), [Mp4AlternateGroupData](https://developer.android.com/reference/androidx/media3/container/Mp4AlternateGroupData.md.txt), [Mp4LocationData](https://developer.android.com/reference/androidx/media3/container/Mp4LocationData.md.txt), [Mp4OrientationData](https://developer.android.com/reference/androidx/media3/container/Mp4OrientationData.md.txt), [Mp4TimestampData](https://developer.android.com/reference/androidx/media3/container/Mp4TimestampData.md.txt), [Mp4TrackReferenceData](https://developer.android.com/reference/androidx/media3/container/Mp4TrackReferenceData.md.txt), [PictureFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/flac/PictureFrame.md.txt), [SlowMotionData](https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.md.txt), [SmtaMetadataEntry](https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SmtaMetadataEntry.md.txt), [SpliceCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceCommand.md.txt), [ThumbnailMetadata](https://developer.android.com/reference/androidx/media3/extractor/metadata/ThumbnailMetadata.md.txt), [VorbisComment](https://developer.android.com/reference/androidx/media3/extractor/metadata/vorbis/VorbisComment.md.txt), [XmpData](https://developer.android.com/reference/androidx/media3/container/XmpData.md.txt)

|---|---|
| `AppInfoTable` | A representation of a DVB Application Information Table (AIT). |
| `Chapter` | Chapter information, for example ID3 `CHAP` or Quicktime `chap` data. |
| `EventMessage` | An Event Message (emsg) as defined in ISO 23009-1. |
| `FakeMetadataEntry` | A fake `Metadata.Entry`. |
| `HlsTrackMetadataEntry` | Holds metadata associated to an HLS media track. |
| `IcyHeaders` | ICY headers. |
| `IcyInfo` | ICY in-stream information. |
| `Id3Frame` | Base class for ID3 frames. |
| `MdtaMetadataEntry` | Stores extensible metadata with handler type 'mdta'. |
| `MotionPhotoMetadata` | Metadata of a motion photo file. |
| `Mp3InfoReplayGain` | Representation of the ReplayGain data stored in a LAME Xing or Info frame. |
| `Mp4AlternateGroupData` | Stores MP4 `alternate_group` info parsed from a `tkhd` box. |
| `Mp4LocationData` | Stores MP4 location data. |
| `Mp4OrientationData` | Stores the orientation hint for the video playback. |
| `Mp4TimestampData` | Stores MP4 timestamp data. |
| `Mp4TrackReferenceData` | Stores MP4 track reference information parsed from a `TrackReferenceTypeBox` inside a `tref` box (ISO/IEC 14496-12 section 8.3.3). |
| `PictureFrame` | A picture parsed from a Vorbis Comment or a FLAC picture block. |
| `SlowMotionData` | Holds information about the segments of slow motion playback within a track. |
| `SmtaMetadataEntry` | Stores metadata from the Samsung smta box. |
| `SpliceCommand` | Superclass for SCTE35 splice commands. |
| `ThumbnailMetadata` | Stores the presentation timestamp of a thumbnail. |
| `VorbisComment` | A vorbis comment, extracted from a FLAC or Ogg file. |
| `XmpData` | Stores XMP data. |

Known indirect subclasses [ApicFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/ApicFrame.md.txt), [BinaryFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/BinaryFrame.md.txt), [ChapterFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/ChapterFrame.md.txt), [ChapterTocFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/ChapterTocFrame.md.txt), [CommentFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/CommentFrame.md.txt), [GeobFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/GeobFrame.md.txt), [InternalFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/InternalFrame.md.txt), [MlltFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/MlltFrame.md.txt), [PrivFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/PrivFrame.md.txt), [PrivateCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/PrivateCommand.md.txt), [SpliceInsertCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceInsertCommand.md.txt), [SpliceNullCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceNullCommand.md.txt), [SpliceScheduleCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand.md.txt), [TextInformationFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/TextInformationFrame.md.txt), [TimeSignalCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/TimeSignalCommand.md.txt), [UrlLinkFrame](https://developer.android.com/reference/androidx/media3/extractor/metadata/id3/UrlLinkFrame.md.txt)

|---|---|
| `ApicFrame` | APIC (Attached Picture) ID3 frame. |
| `BinaryFrame` | Binary ID3 frame. |
| `ChapterFrame` | Chapter information ID3 frame. |
| `ChapterTocFrame` | Chapter table of contents ID3 frame. |
| `CommentFrame` | Comment ID3 frame. |
| `GeobFrame` | GEOB (General Encapsulated Object) ID3 frame. |
| `InternalFrame` | Internal ID3 frame that is intended for use by the player. |
| `MlltFrame` | MPEG location lookup table frame. |
| `PrivFrame` | PRIV (Private) ID3 frame. |
| `PrivateCommand` | Represents a private command as defined in SCTE35, Section 9.3.6. |
| `SpliceInsertCommand` | Represents a splice insert command defined in SCTE35, Section 9.3.3. |
| `SpliceNullCommand` | Represents a splice null command as defined in SCTE35, Section 9.3.1. |
| `SpliceScheduleCommand` | Represents a splice schedule command as defined in SCTE35, Section 9.3.2. |
| `TextInformationFrame` | Text information ID3 frame. |
| `TimeSignalCommand` | Represents a time signal command as defined in SCTE35, Section 9.3.4. |
| `UrlLinkFrame` | Url link ID3 frame. |

*** ** * ** ***

A metadata entry.

## Summary

| ### Public methods |
|---|---|
| `default @Nullable byte[]` | `getWrappedMetadataBytes()` Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata. |
| `default @Nullable 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`. |

## Public methods

### getWrappedMetadataBytes

```
default @Nullable byte[] getWrappedMetadataBytes()
```

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

### getWrappedMetadataFormat

```
default @Nullable 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.

### populateMediaMetadata

```
default void populateMediaMetadata(MediaMetadata.Builder builder)
```

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

| Parameters |
|---|---|
| `MediaMetadata.Builder builder` | The builder to be updated. |