public interface DownloadService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DownloadService.Manifest
Manifest containing source (URIs) and their expected destination on disk after download.
|
| Modifier and Type | Method and Description |
|---|---|
void |
download(DownloadService.Manifest downloadsManifest)
Download all files as per provided manifest.
|
DownloadService.Manifest.Builder |
newManifestBuilder()
Get a new manifest builder.
|
DownloadService.Manifest.Builder newManifestBuilder()
void download(DownloadService.Manifest downloadsManifest) throws DownloadException
downloadsManifest - a download manifestDownloadException - if at least one of the downloads fails