![]() ![]() To download in parallel from multiple servers, create a ParallelDownloadTask. To make a regular server request, create a Request and call request. ![]() To upload a file, create an UploadTask and call upload. Optionally, keep track of task status and progress in a persistent database, and show mobile notifications to keep the user informed and in control when your app is in the background. Alternatively, monitor tasks centrally using an event listener or callbacks and call enqueue to start the task. Monitor progress by passing an onProgress listener, and monitor detailed status updates by passing an onStatus listener to the download call. The download behavior is highly consistent across all supported platforms: iOS, Android, MacOS, Windows and Linux. ![]() Background_downloader uses URLSessions on iOS and DownloadWorker on Android, so tasks will complete also when your app is in the background. A background file downloader and uploader for iOS, Android, MacOS, Windows and Linux #Ĭreate a DownloadTask to define where to get your file from, where to store it, and how you want to monitor the download, then call FileDownloader().download and wait for the result. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |