Class ApicFrame
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- All Implemented Interfaces:
Parcelable,Metadata.Entry
public final class ApicFrame extends Id3Frame
APIC (Attached Picture) ID3 frame.
-
-
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 Modifier and Type Field Description static Parcelable.Creator<ApicFrame>CREATORStringdescriptionstatic StringIDStringmimeTypebyte[]pictureDataintpictureType-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()voidpopulateMediaMetadata(MediaMetadata.Builder builder)Updates theMediaMetadata.Builderwith the type specific values stored in this Entry.StringtoString()voidwriteToParcel(Parcel dest, int flags)-
Methods inherited from class com.google.android.exoplayer2.metadata.id3.Id3Frame
describeContents
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry
getWrappedMetadataBytes, getWrappedMetadataFormat
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
mimeType
public final String mimeType
-
description
@Nullable public final String description
-
pictureType
public final int pictureType
-
pictureData
public final byte[] pictureData
-
CREATOR
public static final Parcelable.Creator<ApicFrame> CREATOR
-
-
Method Detail
-
populateMediaMetadata
public void populateMediaMetadata(MediaMetadata.Builder builder)
Description copied from interface:Metadata.EntryUpdates theMediaMetadata.Builderwith the type specific values stored in this Entry.The order of the
Metadata.Entryobjects in theMetadatamatters. If twoMetadata.Entryentries attempt to populate the sameMediaMetadatafield, then the last one in the list is used.- Parameters:
builder- The builder to be updated.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-
-