public final class

FakeAdaptiveDataSet.Iterator

extends BaseMediaChunkIterator

 java.lang.Object

androidx.media3.exoplayer.source.chunk.BaseMediaChunkIterator

↳androidx.media3.test.utils.FakeAdaptiveDataSet.Iterator

Overview

MediaChunkIterator for the chunks defined by a fake adaptive data set.

Summary

Constructors
publicIterator(FakeAdaptiveDataSet dataSet, int trackGroupIndex, int chunkIndex)

Create iterator.

Methods
public longgetChunkEndTimeUs()

public longgetChunkStartTimeUs()

public DataSpecgetDataSpec()

from BaseMediaChunkIteratorcheckInBounds, getCurrentIndex, isEnded, next, reset
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Iterator(FakeAdaptiveDataSet dataSet, int trackGroupIndex, int chunkIndex)

Create iterator.

Parameters:

dataSet: The data set to iterate over.
trackGroupIndex: The index of the track group to iterate over.
chunkIndex: The chunk index to which the iterator points initially.

Methods

public DataSpec getDataSpec()

public long getChunkStartTimeUs()

public long getChunkEndTimeUs()