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
Link copied to clipboard
open fun setShortTtlHandler(shortTtlHandler: MultiDataSource.ShortTtlHandler): MultiDataSource.Factory
Set the ShortTtlHandler to be used when opening potentially expired DataSpecs.