FakeChunkSource.Factory


public class FakeChunkSource.Factory


Factory for a FakeChunkSource.

Summary

Public constructors

Factory(
    FakeAdaptiveDataSet.Factory dataSetFactory,
    FakeDataSource.Factory dataSourceFactory
)

Public methods

FakeChunkSource
createChunkSource(
    ExoTrackSelection trackSelection,
    long durationUs,
    @Nullable TransferListener transferListener
)

Protected fields

dataSetFactory

protected final FakeAdaptiveDataSet.Factory dataSetFactory

dataSourceFactory

protected final FakeDataSource.Factory dataSourceFactory

Public constructors

Factory

public Factory(
    FakeAdaptiveDataSet.Factory dataSetFactory,
    FakeDataSource.Factory dataSourceFactory
)

Public methods

createChunkSource

public FakeChunkSource createChunkSource(
    ExoTrackSelection trackSelection,
    long durationUs,
    @Nullable TransferListener transferListener
)