DownloadCallback

Functions

Link copied to clipboard
abstract fun onDownloadCanceled()
Called when the download has been canceled.
Link copied to clipboard
abstract fun onDownloadCompleted(data: @NotNull Array<Byte>)
Called when the download has finished successfully.
Link copied to clipboard
abstract fun onDownloadFailed(@NotNull error: @NotNull McuMgrException)
Called when the download has failed.
Link copied to clipboard
abstract fun onDownloadProgressChanged(current: Int, total: Int, timestamp: Long)
Called when a response has been received successfully.