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

◆ download_client_downloaded_size_get()

int download_client_downloaded_size_get ( struct download_client * client,
size_t * size )

#include <include/net/download_client.h>

Retrieve the number of bytes downloaded so far.

The progress is only available after the download has begun.

Parameters
[in]clientClient instance.
[out]sizeNumber of bytes downloaded so far.
Return values
intZero on success, a negative error code otherwise.