docs/doc/reference/com/google/android/exoplayer2/metadata/id3/ChapterFrame.html
Package com.google.android.exoplayer2.metadata.id3
All Implemented Interfaces:Parcelable, Metadata.Entry
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classChapterFrameextends[Id3Frame](Id3Frame.html "class in com.google.android.exoplayer2.metadata.id3")
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.
-
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
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, or C.INDEX_UNSET if not set.
|
| int | endTimeMs |
Deprecated.
|
| static String | ID |
Deprecated.
|
| long | startOffset |
Deprecated.
The byte offset of the start of the chapter, or C.INDEX_UNSET if not set.
|
| int | startTimeMs |
Deprecated.
|
-
id
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructors | Constructor | Description |
| --- | --- |
| ChapterFrame(String chapterId, int startTimeMs, int endTimeMs, long startOffset, long endOffset, Id3Frame[] subFrames) |
Deprecated.
|
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 at index.
|
| int | getSubFrameCount() |
Deprecated.
Returns the number of sub-frames.
|
| int | hashCode() |
Deprecated.
|
| void | writeToParcel(Parcel dest, int flags) |
Deprecated.
|
-
toString
-
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")ID
Deprecated. See Also:Constant Field Values
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")chapterId
Deprecated.
-
public final int startTimeMs
Deprecated.
-
public final int endTimeMs
Deprecated.
-
public final long startOffset
Deprecated.
The byte offset of the start of the chapter, or C.INDEX_UNSET if not set.
-
public final long endOffset
Deprecated.
The byte offset of the end of the chapter, or C.INDEX_UNSET if not set.
-
public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[ChapterFrame](ChapterFrame.html "class in com.google.android.exoplayer2.metadata.id3")> CREATOR
Deprecated.
-
public ChapterFrame([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")chapterId,
int startTimeMs,
int endTimeMs,
long startOffset,
long endOffset,[Id3Frame](Id3Frame.html "class in com.google.android.exoplayer2.metadata.id3")[] subFrames)
Deprecated.
-
public int getSubFrameCount()
Deprecated.
Returns the number of sub-frames.
-
public[Id3Frame](Id3Frame.html "class in com.google.android.exoplayer2.metadata.id3")getSubFrame(int index)
Deprecated.
Returns the sub-frame at index.
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)
Deprecated.
Overrides:equals in class Object
-
public int hashCode()
Deprecated.
Overrides:hashCode in class Object
-
public void writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
int flags)
Deprecated.
-
public int describeContents()
Deprecated.
Specified by:describeContents in interface ParcelableOverrides:describeContents in class Id3Frame