nRF Connect SDK API 0.1.0
|
typedef int(* download_client_callback_t) (const struct download_client_evt *event) |
#include <include/net/download_client.h>
Download client asynchronous event handler.
Through this callback, the application receives events, such as download of a fragment, download completion, or errors.
If the callback returns a non-zero value, the download stops. To resume the download, use download_client_start().
[in] | event | The event. |