nRF Connect SDK API 2.8.99
|
int download_client_file_size_get | ( | struct download_client * | client, |
size_t * | size ) |
#include <include/net/download_client.h>
Retrieve the size of the file being downloaded, in bytes.
The file size is only available after the download has begun.
[in] | client | Client instance. |
[out] | size | File size. |
int | Zero on success, a negative error code otherwise. |