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