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.transfer
/
Uploader
Uploader
abstract
class
Uploader
(
data
:
ByteArray
,
windowCapacity
:
Int
,
memoryAlignment
:
Int
,
mtu
:
Int
,
protocol
:
McuMgrScheme
)
Inheritors
CacheUploader
EnvelopeUploader
FileUploader
ImageUploader
ResourceUploader
Members
Constructors
Uploader
Link copied to clipboard
constructor
(
data
:
ByteArray
,
windowCapacity
:
Int
,
memoryAlignment
:
Int
,
mtu
:
Int
,
protocol
:
McuMgrScheme
)
Properties
progress
Link copied to clipboard
val
progress
:
Flow
<
UploadProgress
>
Functions
pause
Link copied to clipboard
suspend
fun
pause
(
)
Pauses upload.
resume
Link copied to clipboard
fun
resume
(
)
Resumes upload.
upload
Link copied to clipboard
suspend
fun
upload
(
)
Uploads the data.
upload
Async
Link copied to clipboard
@
JvmOverloads
fun
uploadAsync
(
callback
:
UploadCallback
,
scope
:
CoroutineScope
=
GlobalScope
)
:
TransferController
Uploads the data asynchronously.