public final class FakeAdaptiveDataSet extends FakeDataSet
Formats in the given TrackGroup.| Modifier and Type | Class | Description |
|---|---|---|
static class |
FakeAdaptiveDataSet.Factory |
Factory for
FakeAdaptiveDataSets. |
static class |
FakeAdaptiveDataSet.Iterator |
MediaChunkIterator for the chunks defined by a fake adaptive data set. |
FakeDataSet.FakeData| Modifier and Type | Method | Description |
|---|---|---|
int |
getChunkCount() |
|
long |
getChunkDuration(int chunkIndex) |
|
int |
getChunkIndexByPosition(long positionUs) |
|
long |
getStartTime(int chunkIndex) |
|
String |
getUri(int trackIndex) |
getAllData, getData, getData, newData, newData, newDefaultData, setData, setData, setRandomData, setRandomDatapublic int getChunkCount()
public String getUri(int trackIndex)
public long getChunkDuration(int chunkIndex)
public long getStartTime(int chunkIndex)
public int getChunkIndexByPosition(long positionUs)