![]() Progress information is available if you want to give status to the user in your app's UI, and your app can pause, resume, cancel, or even read from the data while the transfer is occurring. ![]() Each transfer operation is handled individually by the system and separate from the calling app. When an app uses Background Transfer to initiate a transfer, the request is configured and initialized using BackgroundDownloader or BackgroundUploader class objects. Using How does the Background Transfer feature work? If you are downloading small resources that are likely to complete quickly, you should use HttpClient APIs instead of Background Transfer. For these scenarios, using Background Transfer is essential because downloads continue to progress even when the app is suspended. FTP is also supported, but only for downloads.īackground Transfer runs separately from the calling app and is primarily designed for long-term transfer operations for resources like video, music, and large images. The API is ideal for uploading and downloading large files using HTTP(S). The API monitors network status and automatically suspends and resumes transfers when connectivity is lost, and transfers are also Data Sense-aware and Battery Sense-aware, meaning that download activity adjusts based on your current connectivity and device battery status. The background transfer API provides advanced upload and download features that run in the background during app suspension and persist beyond app termination. ![]() Use the background transfer API to copy files reliably over the network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |