Downloader

Last Updated On 2021-07-16

Version 1MinSDK 14Tutorial Video

Download Component can be used to download any type of files like image, video, pdf, apk and etc.Supports Multiple File Downloads



Methods

You can set the below method blocks in the blocks section of the builder.

CancelAllDownloads

Method for CancelAllDownloads

CancelDownload

Method for CancelDownload

GetDownloadStatus

Method for GetDownloadStatus

InitializeDownloader

Initialize the Downloader First. readTimeout and connectTimeout in seconds

PauseDownload

Method for PauseDownload

ResumeDownload

Method for ResumeDownload

StartDownload

Start the Download of a File


Events

You can set the below event blocks in the blocks section of the builder.

Cancelled

Download Cancelled

DownloadCompleted

Download Completed

DownloadScheduled

Download was Scheduled. Use the Download id to check stats in the future

ErrorOccurred

Some Error Occurred

Paused

Download Paused

ProgressChanged

Download Progress Changed. Progress in percentage

StartedOrResumed

Download Started