-
Notifications
You must be signed in to change notification settings - Fork 2.2k
FileDownloadUtils
Jacksgong edited this page Apr 14, 2016
·
4 revisions
function | description |
---|---|
setDefaultSaveRootPath(path:String) | The path is used as Root Path in the case of task without setting path in the entire Download Engine |
How to integrate with Notification quickly? Recommend to refer to NotificationDemoActivity
If you want to use this property and don't find 'filedownloader.properties' on the root path of your project, please create a new empty file with naming 'filedownloader.properties' on there feel free.
Format:
keyword=value
.
keyword | description | default |
---|---|---|
http.lenient | if you occur exception: 'can't know the size of the download file, and its Transfer-Encoding is not Chunked either', but you want to ignore such exception, set true, will deal with it as the case of transfer encoding chunk. | false |
- Initialization
- Start downloading
- Pause or Stop
- Get the internal stored data
- Customizable Component
- Interface