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 String
chapterId
Deprecated.static Parcelable.Creator<ChapterFrame>
CREATOR
Deprecated.long
endOffset
Deprecated.The byte offset of the end of the chapter, orC.INDEX_UNSET
if not set.int
endTimeMs
Deprecated.static String
ID
Deprecated.long
startOffset
Deprecated.The byte offset of the start of the chapter, orC.INDEX_UNSET
if not set.int
startTimeMs
Deprecated.-
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 int
describeContents()
Deprecated.boolean
equals(Object obj)
Deprecated.Id3Frame
getSubFrame(int index)
Deprecated.Returns the sub-frame atindex
.int
getSubFrameCount()
Deprecated.Returns the number of sub-frames.int
hashCode()
Deprecated.void
writeToParcel(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_UNSET
if not set.
-
endOffset
public final long endOffset
Deprecated.The byte offset of the end of the chapter, orC.INDEX_UNSET
if 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:
describeContents
in interfaceParcelable
- Overrides:
describeContents
in classId3Frame
-
-