public final class ChapterFrame extends Id3Frame
Modifier and Type | Field and Description |
---|---|
java.lang.String |
chapterId |
static android.os.Parcelable.Creator<ChapterFrame> |
CREATOR |
long |
endOffset
The byte offset of the end of the chapter, or
C.POSITION_UNSET if not set. |
int |
endTimeMs |
static java.lang.String |
ID |
long |
startOffset
The byte offset of the start of the chapter, or
C.POSITION_UNSET if not set. |
int |
startTimeMs |
Constructor and Description |
---|
ChapterFrame(java.lang.String chapterId,
int startTimeMs,
int endTimeMs,
long startOffset,
long endOffset,
Id3Frame[] subFrames) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
Id3Frame |
getSubFrame(int index)
Returns the sub-frame at
index . |
int |
getSubFrameCount()
Returns the number of sub-frames.
|
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String ID
public final java.lang.String chapterId
public final int startTimeMs
public final int endTimeMs
public final long startOffset
C.POSITION_UNSET
if not set.public final long endOffset
C.POSITION_UNSET
if not set.public static final android.os.Parcelable.Creator<ChapterFrame> CREATOR
public ChapterFrame(java.lang.String chapterId, int startTimeMs, int endTimeMs, long startOffset, long endOffset, Id3Frame[] subFrames)
public int getSubFrameCount()
public Id3Frame getSubFrame(int index)
index
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeToParcel(android.os.Parcel dest, int flags)
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class Id3Frame