nRF Connect Device Manager
Toggle table of contents
3.2.0
release
Target filter
release
Switch theme
Search in API
Skip to content
nRF Connect Device Manager
mcumgr-core
/
no.nordicsemi.android.mcumgr.managers
/
FsManager
/
FileDownloadCallback
File
Download
Callback
interface
FileDownloadCallback
Deprecated
Old implementation. See fileUpload and fileDownload
Members
Functions
on
Download
Canceled
Link copied to clipboard
abstract
fun
onDownloadCanceled
(
)
Called when the download has been canceled.
on
Download
Failed
Link copied to clipboard
abstract
fun
onDownloadFailed
(
@
NotNull
error
:
@
NotNull
McuMgrException
)
Called when the download has failed.
on
Download
Finished
Link copied to clipboard
abstract
fun
onDownloadFinished
(
@
NotNull
name
:
@
NotNull
String
,
data
:
@
NotNull
Array
<
Byte
>
)
Called when the download has finished successfully.
on
Progress
Changed
Link copied to clipboard
abstract
fun
onProgressChanged
(
bytesDownloaded
:
Int
,
imageSize
:
Int
,
timestamp
:
Long
)
Called when a response has been received successfully.