Factory

open class Factory

Implements a factory to support MultiDataSource

Constructors

Link copied to clipboard
constructor(context: Context, httpDataSourceFactory: Factory, listener: TransferListener)
Creates a factory for MultiDataSource.
constructor(context: Context, listener: TransferListener)
Creates a factory for MultiDataSource.
constructor(context: Context, httpDataSourceFactory: Factory, listener: TransferListener, storeManager: MediaStore)
Creates a factory for MultiDataSource.

Functions

Link copied to clipboard
open fun createDataSource(): DataSource
Link copied to clipboard
Set the ShortTtlHandler to be used when opening potentially expired DataSpecs.