FileDownloadCallback

Deprecated

Old implementation. See fileUpload and fileDownload

Functions

Link copied to clipboard
abstract fun onDownloadCanceled()
Called when the download has been canceled.
Link copied to clipboard
abstract fun onDownloadFailed(@NotNull error: @NotNull McuMgrException)
Called when the download has failed.
Link copied to clipboard
abstract fun onDownloadFinished(@NotNull name: @NotNull String, data: @NotNull Array<Byte>)
Called when the download has finished successfully.
Link copied to clipboard
abstract fun onProgressChanged(bytesDownloaded: Int, imageSize: Int, timestamp: Long)
Called when a response has been received successfully.