| 接口 | 说明 |
|---|---|
| Downloader |
A mechanism to download files from network.
|
| Logger |
A simple indirection for logging debug messages.
|
| 类 | 说明 |
|---|---|
| DownloadCallback |
This is a callback to be invoked when downloading.
|
| DownloadManager |
A manager used to manage the downloading.
|
| DownloadManager.Builder | |
| DownloadRequest |
This class represents a request for downloading, this is designed according to Request in
Andoird-Volley.
|
| DownloadRequest.Builder | |
| OkHttpDownloader |
A downloader implemented by
OkHttpClient. |
| URLDownloader |
A default downloader implemented by
URLConnection. |
| Utils |
Contains some utils used in download manager.
|
| 枚举 | 说明 |
|---|---|
| Priority |
Download request will be processed from higher priorities to lower priorities.
|
| 异常错误 | 说明 |
|---|---|
| DownloadException |
An exception reprensent an error for download.
|