ChapterFrame
@UnstableApi
public final class ChapterFrame extends Id3Frame
| java.lang.Object | ||
| ↳ | androidx.media3.extractor.metadata.id3.Id3Frame | |
| ↳ | androidx.media3.extractor.metadata.id3.ChapterFrame |
Chapter information ID3 frame.
Summary
Public fields |
|
|---|---|
final String |
|
final long |
The byte offset of the end of the chapter, or |
final int |
|
final long |
The byte offset of the start of the chapter, or |
final int |
Public constructors |
|---|
ChapterFrame( |
Public methods |
|
|---|---|
boolean |
|
Id3Frame |
getSubFrame(int index)Returns the sub-frame at |
int |
Returns the number of sub-frames. |
int |
hashCode() |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
Public fields
endOffset
public final long endOffset
The byte offset of the end of the chapter, or INDEX_UNSET if not set.
startOffset
public final long startOffset
The byte offset of the start of the chapter, or INDEX_UNSET if not set.
Public constructors
ChapterFrame
public ChapterFrame(
String chapterId,
int startTimeMs,
int endTimeMs,
long startOffset,
long endOffset,
Id3Frame[] subFrames
)