Downloader

Downloader is responsible for handling file downloads from a given URL. This class provides functionality to asynchronously download files, report download progress, and handle errors that may occur during the download process.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun downloadApp(downloadUrl: String, onProgress: (percentage: Double, <Error class: unknown class>?) -> Unit): Boolean

Downloads an application file from the provided URL and tracks the download progress.