download
abstract fun download(@NonNull options: DownloadOptions, @NonNull callback: DownloadStatusCallback): Long
Content copied to clipboard
Send the download request. Successful request initiates download session to fetch requested resource.
Return
Download id to observe and to cancel the download session.
Parameters
options
Download options describing url to download from and place on the disk where to save.
callback
Callback to report status of download session.