![]() An app should enumerate these uploads when it gets started so it can attach a progress handler to these uploads to track progress and prevent stale uploads. The sample also shows how to pause downloads and change the priority of a download.įor the upload scenario, the sample first uses methods on BackgroundUploader class to enumerate any uploads that were going on in the background while the app was closed. ![]() Then other methods on the BackgroundDownloader and related classes are used to start new downloads to the local Pictures Library. An app should enumerate these downloads when it gets started so it can attach a progress handler to these downloads to track progress and prevent stale downloads. This sample shows how to download and upload files using the Background Transfer API.įor the download scenario, the sample first uses methods on BackgroundDownloader class to enumerate any downloads that were going on in the background while the app was closed. The samples collection, and GitHub, see Get the UWP samples from GitHub.įor more samples, see the Samples portal on the Windows Dev Center.Ĭlasses in the namespace provide a power-friendly, cost-aware, and flexible API for transferring files in the background. For more info on working with the ZIP file, Sure to unzip everything to access shared dependencies. Or you can download the entire collection as a single You can download this sample as a standalone ZIP file ![]() Note: This sample is part of a large collection of UWP feature samples. Shows how to use the Background Transfer API to download and upload files in the background in Universal Windows Platform (UWP) apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |