Android-nRF-Connect-Device-Manager
Android-nRF-Connect-Device-Manager copied to clipboard
Add stream variants for download and upload in FsManager
Implementation to resolve #157
I added separate stream versions of transfer classes so that backwards compatibility is not affected. I did have to make a small addition to Transfer so that retrieving the total size of the transfer in TransferCallable does not depend on retrieving the data array to allow it to work with stream versions.
This is so cool! I was looking forward to this kind of thing because it's perfectly conceivable for our team to need this sort of functionality in the not-so-distant future. Thumbs up mate!
I'll merge the PR and release as 2.1. I have not tested it, trusting you did :)
Yes, we've been using a privately published version with this, works great! Thanks for merging
Side-question: For the sake of symmetry is it possible to replicate this feature on the iOS side? (I'm not an expert in Swift but I can give it a shot if you want some help getting the effort off the ground)
Let me know what you think. @philips77
Sure, that would help us a lot! I'll cc @dinesharjani here, as he's looking after the iOS version.