docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/SegmentBase.SegmentTimelineElement.html
Package com.google.android.exoplayer2.source.dash.manifest
Enclosing class:SegmentBase
public static final classSegmentBase.SegmentTimelineElementextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Represents a timeline segment from the MPD's SegmentTimeline list.
Constructors | Constructor | Description |
| --- | --- |
| SegmentTimelineElement(long startTime, long duration) | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| boolean | equals(Object o) | |
| int | hashCode() | |
-
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
public SegmentTimelineElement(long startTime,
long duration)
Parameters:startTime - The start time of the element. The value in seconds is the division of this value and the timescale of the enclosing element.duration - The duration of the element. The value in seconds is the division of this value and the timescale of the enclosing element.
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)
Overrides:equals in class Object
-
public int hashCode()
Overrides:hashCode in class Object