> Documentation index: https://developer.android.com/reference/llms.txt

# SegmentBase.SegmentTimelineElement

Artifact: [androidx.media3:media3-exoplayer-dash](https://developer.android.com/jetpack/androidx/releases/media3.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/dash/manifest/SegmentBase.java+class:androidx.media3.exoplayer.dash.manifest.SegmentBase.SegmentTimelineElement)

*** ** * ** ***


```
public final class SegmentBase.SegmentTimelineElement
```

<br />

*** ** * ** ***

Represents a timeline segment from the MPD's SegmentTimeline list.

## Summary

| ### Public constructors |
|---|
| `SegmentTimelineElement(long startTime, long duration)` |

| ### Public methods |
|---|---|
| `boolean` | `equals(@Nullable Object o)` |
| `int` | `hashCode()` |

## Public constructors

### SegmentTimelineElement

```
public SegmentTimelineElement(long startTime, long duration)
```

| Parameters |
|---|---|
| `long startTime` | The start time of the element. The value in seconds is the division of this value and the `timescale` of the enclosing element. |
| `long duration` | The duration of the element. The value in seconds is the division of this value and the `timescale` of the enclosing element. |

## Public methods

### equals

```
public boolean equals(@Nullable Object o)
```

### hashCode

```
public int hashCode()
```