ImageUploadCallback

Deprecated

Use the new transfer implementation's UploadCallback

Callback for upload command.

Functions

Link copied to clipboard
abstract fun onProgressChanged(bytesSent: Int, imageSize: Int, timestamp: Long)
Called when a response has been received successfully.
Link copied to clipboard
abstract fun onUploadCanceled()
Called when the upload has been canceled.
Link copied to clipboard
abstract fun onUploadFailed(@NotNull error: @NotNull McuMgrException)
Called when the upload has failed.
Link copied to clipboard
abstract fun onUploadFinished()
Called when the upload has finished successfully.