In my windows store app I am using BackgroundDownloader class to handle multiple background downloads. After all my 3 downloads are 100% complete, I close and open application, then when I run BackgroundDownloader.GetCurrentDownloadsAsync, it returns all downloads with 100% completed state.
IReadOnlyList<DownloadOperation> readOnlyList = await BackgroundDownloader.GetCurrentDownloadsAsync();
My expectation is completed downloads will be removed from list or somehow I need to force-remove them. But could not find any function for it.
How can I remove completed downloads from CurrentDownloads list?
-Side question: Will GetCurrentDownloadsAsync function return all active downloads (including other applications downloads) or only downloads are performing in my application?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…