public final class

SegmentBase.SegmentTimelineElement

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.dash.manifest.SegmentBase.SegmentTimelineElement

Overview

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

Summary

Constructors
publicSegmentTimelineElement(long startTime, long duration)

Methods
public booleanequals(java.lang.Object o)

public inthashCode()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructors

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.

Methods

public boolean equals(java.lang.Object o)

public int hashCode()