FakeChunkSource.Factory


class FakeChunkSource.Factory


Factory for a FakeChunkSource.

Summary

Public constructors

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

Public functions

FakeChunkSource!
createChunkSource(
    trackSelection: ExoTrackSelection!,
    durationUs: Long,
    transferListener: TransferListener?
)

Public constructors

Factory

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

Public functions

createChunkSource

fun createChunkSource(
    trackSelection: ExoTrackSelection!,
    durationUs: Long,
    transferListener: TransferListener?
): FakeChunkSource!

Protected properties

dataSetFactory

protected val dataSetFactoryFakeAdaptiveDataSet.Factory!

dataSourceFactory

protected val dataSourceFactoryFakeDataSource.Factory!