VideoDownloadManager
Types
This class handles the notifications, as well as the relevant key
bytes have the size end-start where the byte range is [start,end) note that ByteArray is a pointer and therefore cant be stored without cloning it
Properties
Functions
Turns a string to an UniFile. Used for stored string paths such as settings. Should only be used to get a download path.
download a file that consist of a single stream of data
Base path where downloaded things should be stored, changes depending on settings. Returns the file and a string to be stored for future file retrieval. UniFile.filePath is not sufficient for storage.
Gets the default download path as an UniFile. Vital for legacy downloads, be careful about changing anything here.
Sets up the appropriate file and creates a data stream from the file. Used for initializing downloads.