Skip to content

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

FileDownloadNotificationHelper

How to integrate with Notification quickly? Recommend to refer to NotificationDemoActivity

filedownloader.properties

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
Clone this wiki locally