nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ downloader_downloaded_size_get()

int downloader_downloaded_size_get ( struct downloader * dl,
size_t * size )

#include <include/net/downloader.h>

Retrieve the number of bytes downloaded so far.

The progress is only available after the download has begun.

Parameters
[in]dlDownloader instance.
[out]sizeNumber of bytes downloaded so far.
Returns
Zero on success, a negative error code otherwise.