public class

SegmentBase.SingleSegmentBase

extends SegmentBase

 java.lang.Object

androidx.media3.exoplayer.dash.manifest.SegmentBase

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

Overview

A SegmentBase that defines a single segment.

Summary

Constructors
publicSingleSegmentBase()

publicSingleSegmentBase(RangedUri initialization, long timescale, long presentationTimeOffset, long indexStart, long indexLength)

Methods
public RangedUrigetIndex()

from SegmentBasegetInitialization, getPresentationTimeOffsetUs
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public SingleSegmentBase(RangedUri 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()

Methods

public RangedUri getIndex()