Class ChapterFrame
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- All Implemented Interfaces:
Parcelable,Metadata.Entry
@Deprecated public final class ChapterFrame extends Id3Frame
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Chapter information 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 StringchapterIdDeprecated.static Parcelable.Creator<ChapterFrame>CREATORDeprecated.longendOffsetDeprecated.The byte offset of the end of the chapter, orC.INDEX_UNSETif not set.intendTimeMsDeprecated.static StringIDDeprecated.longstartOffsetDeprecated.The byte offset of the start of the chapter, orC.INDEX_UNSETif not set.intstartTimeMsDeprecated.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description ChapterFrame(String chapterId, int startTimeMs, int endTimeMs, long startOffset, long endOffset, Id3Frame[] subFrames)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intdescribeContents()Deprecated.booleanequals(Object obj)Deprecated.Id3FramegetSubFrame(int index)Deprecated.Returns the sub-frame atindex.intgetSubFrameCount()Deprecated.Returns the number of sub-frames.inthashCode()Deprecated.voidwriteToParcel(Parcel dest, int flags)Deprecated.-
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, populateMediaMetadata
-
-
-
-
Field Detail
-
ID
public static final String ID
Deprecated.- See Also:
- Constant Field Values
-
chapterId
public final String chapterId
Deprecated.
-
startTimeMs
public final int startTimeMs
Deprecated.
-
endTimeMs
public final int endTimeMs
Deprecated.
-
startOffset
public final long startOffset
Deprecated.The byte offset of the start of the chapter, orC.INDEX_UNSETif not set.
-
endOffset
public final long endOffset
Deprecated.The byte offset of the end of the chapter, orC.INDEX_UNSETif not set.
-
CREATOR
public static final Parcelable.Creator<ChapterFrame> CREATOR
Deprecated.
-
-
Method Detail
-
getSubFrameCount
public int getSubFrameCount()
Deprecated.Returns the number of sub-frames.
-
getSubFrame
public Id3Frame getSubFrame(int index)
Deprecated.Returns the sub-frame atindex.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContentsin interfaceParcelable- Overrides:
describeContentsin classId3Frame
-
-