SegmentDownloader.Segment


protected class SegmentDownloader.Segment : Comparable


Smallest unit of content to be downloaded.

Summary

Public constructors

Segment(startTimeUs: Long, dataSpec: DataSpec!)

Constructs a Segment.

Public functions

Int

Public properties

DataSpec!

The DataSpec of the segment.

Long

The start time of the segment in microseconds.

Public constructors

Segment

Segment(startTimeUs: Long, dataSpec: DataSpec!)

Constructs a Segment.

Public functions

compareTo

fun compareTo(other: SegmentDownloader.Segment!): Int

Public properties

dataSpec

val dataSpecDataSpec!

The DataSpec of the segment.

startTimeUs

val startTimeUsLong

The start time of the segment in microseconds.