protected static class SegmentDownloader.Segment extends java.lang.Object implements java.lang.Comparable<SegmentDownloader.Segment>
| Modifier and Type | Field and Description |
|---|---|
DataSpec |
dataSpec
The
DataSpec of the segment. |
long |
startTimeUs
The start time of the segment in microseconds.
|
| Constructor and Description |
|---|
Segment(long startTimeUs,
DataSpec dataSpec)
Constructs a Segment.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SegmentDownloader.Segment other) |
public final long startTimeUs
public Segment(long startTimeUs,
DataSpec dataSpec)
public int compareTo(@NonNull
SegmentDownloader.Segment other)
compareTo in interface java.lang.Comparable<SegmentDownloader.Segment>