docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/SegmentBase.SingleSegmentBase.html
Package com.google.android.exoplayer2.source.dash.manifest
Enclosing class:SegmentBase
public static classSegmentBase.SingleSegmentBaseextends[SegmentBase](SegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")
A SegmentBase that defines a single segment.
-
SegmentBase.MultiSegmentBase, SegmentBase.SegmentList, SegmentBase.SegmentTemplate, SegmentBase.SegmentTimelineElement, SegmentBase.SingleSegmentBase
Constructors | Constructor | Description |
| --- | --- |
| SingleSegmentBase() | |
| SingleSegmentBase(RangedUri initialization, long timescale, long presentationTimeOffset, long indexStart, long indexLength) | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| RangedUri | getIndex() | |
-
getInitialization, getPresentationTimeOffsetUs
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public SingleSegmentBase(@Nullable[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")initialization,
long timescale,
long presentationTimeOffset,
long indexStart,
long indexLength)
Parameters:initialization - A RangedUri corresponding to initialization data, if such data exists.timescale - The timescale in units per second.presentationTimeOffset - The presentation time offset. The value in seconds is the division of this value and timescale.indexStart - The byte offset of the index data in the segment.indexLength - The length of the index data in bytes.
-
public SingleSegmentBase()
-
@Nullable
public[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")getIndex()