nRF Connect SDK API 0.1.0
|
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.
[in] | client | Client instance. |
[out] | size | Number of bytes downloaded so far. |
int | Zero on success, a negative error code otherwise. |