DownloadService
Methods
createDownload()
createDownload(
downloadId,downloadConfiguration):Promise<Download>
Creates a new download.
Parameters
| Parameter | Type | Description |
|---|---|---|
downloadId | string | The ID of the download. |
downloadConfiguration | DownloadConfiguration | The configuration for the downloader |
Returns
A promise that resolves to the created download.
deleteDownload()
deleteDownload(
downloadId):Promise<void>
Parameters
| Parameter | Type |
|---|---|
downloadId | string |
Returns
Promise<void>
getDownload()
Parameters
| Parameter | Type |
|---|---|
downloadId | string |
Returns
getInstance()
staticgetInstance():DownloadService
Returns
DownloadService