Interface Metadata.Entry
-
- All Superinterfaces:
Parcelable
- All Known Implementing Classes:
ApicFrame
,AppInfoTable
,BinaryFrame
,ChapterFrame
,ChapterTocFrame
,CommentFrame
,EventMessage
,FakeMetadataEntry
,GeobFrame
,HlsTrackMetadataEntry
,IcyHeaders
,IcyInfo
,Id3Frame
,InternalFrame
,MdtaMetadataEntry
,MlltFrame
,MotionPhotoMetadata
,PictureFrame
,PrivateCommand
,PrivFrame
,SlowMotionData
,SmtaMetadataEntry
,SpliceCommand
,SpliceInsertCommand
,SpliceNullCommand
,SpliceScheduleCommand
,TextInformationFrame
,TimeSignalCommand
,UrlLinkFrame
,VorbisComment
- Enclosing class:
- Metadata
public static interface Metadata.Entry extends Parcelable
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 theFormat
that can be used to decode the wrapped metadata ingetWrappedMetadataBytes()
, or null if this Entry doesn't contain wrapped metadata.default void
populateMediaMetadata(MediaMetadata.Builder builder)
Updates theMediaMetadata.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 getWrappedMetadataFormat()
Returns theFormat
that can be used to decode the wrapped metadata ingetWrappedMetadataBytes()
, 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 builder)
Updates theMediaMetadata.Builder
with the type specific values stored in this Entry.The order of the
Metadata.Entry
objects in theMetadata
matters. If twoMetadata.Entry
entries attempt to populate the sameMediaMetadata
field, then the last one in the list is used.- Parameters:
builder
- The builder to be updated.
-
-