createDownloadRequestSet

open fun createDownloadRequestSet(requestConfig: RequestConfig, estimatedSize: Long, listener: DownloadManager.Listener): Observable<DownloadRequestSet>

Creates an empty download request set with the specified estimated size.

Please note the operation will be carried on a background i/o thread.

Return

reference to an Observable that must subscribed to complete operation and obtain the result.

Parameters

requestConfig

the configuration to be used for handling the download requests.

estimatedSize

the estimated total size of the download.

listener

reference to the callback listener that must be notified about status changes related to this download request.