Metadata.Entry


public interface Metadata.Entry extends Parcelable

Known direct subclasses
AppInfoTable

A representation of a DVB Application Information Table (AIT).

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.

Mp4LocationData

Stores MP4 location data.

Mp4OrientationData

Stores the orientation hint for the video playback.

Mp4TimestampData

Stores MP4 timestamp data.

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.

VorbisComment

This class is deprecated.

Use androidx.media3.extractor.metadata.vorbis.VorbisComment instead.

XmpData

Stores XMP data.

Known indirect subclasses
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.

VorbisComment

A vorbis comment, extracted from a FLAC or Ogg file.


A metadata entry.

Summary

Public methods

default @Nullable byte[]

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

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

default void

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

Inherited Constants

From android.os.Parcelable
default static final int
default static final int

Inherited methods

From android.os.Parcelable
abstract int
abstract void
writeToParcel(Parcel p, int p1)

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.