Factory

constructor(context: Context, httpDataSourceFactory: Factory, listener: TransferListener)

Creates a factory for MultiDataSource.

Parameters

context

the context of the host application.

httpDataSourceFactory

the factory that must be used for handling HTTP data source.

listener

the transfer listener if any, which must be hooked to the data source.


constructor(context: Context, listener: TransferListener)

Creates a factory for MultiDataSource.

Parameters

context

the context of the host application.

listener

the transfer listener if any, which must be hooked to the data source.


constructor(context: Context, httpDataSourceFactory: Factory, listener: TransferListener, storeManager: MediaStore)

Creates a factory for MultiDataSource.

Parameters

context

the context of the host application.

httpDataSourceFactory

the factory that must be used for handling HTTP data source.

listener

the transfer listener if any, which must be hooked to the data source.

storeManager

the store manager to access to downloaded content