ZTDfuInitiator

class ZTDfuInitiator(context: Context, dfuData: ZTDfuData, mode: Int?)

ZTDfuInitiator

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTDfuInitiator
Link copied to clipboard
fun ZTDfuInitiator(context: Context, dfuData: ZTDfuData, mode: Int? = ZTDfu.MODE_DUAL)

Functions

registerProgressListener
Link copied to clipboard
fun registerProgressListener(listener: ZTDfuProgressListener)
start
Link copied to clipboard
fun start(): Completable
Starts the dfu process
unregisterProgressListener
Link copied to clipboard
fun unregisterProgressListener()