android - Update DownloadManager.Request -


use case: user downloading file on wifi , loses connection. if device switches on mobile network, user should give permission continue downloading on mobile network.

question: possible update downloadmanager.request , call setallowednetworktypes(downloadmanager.request.network_wifi|downloadmanager.request.network_mobile); on it, can continue downloading on mobile network without starting new download?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -