ZTDfu

abstract class ZTDfu(context: Context, fileUri: String, macAddress: String, deviceName: String?)

ZTDfuHandler

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTDfu
Link copied to clipboard
fun ZTDfu(context: Context, fileUri: String, macAddress: String, deviceName: String?)

Types

Companion
Link copied to clipboard
object Companion

Functions

dispose
Link copied to clipboard
abstract fun dispose()
registerProgressListener
Link copied to clipboard
fun registerProgressListener(progressListener: ZTDfuProgressListener)
start
Link copied to clipboard
abstract fun start(): Single<ZTDfu>
unregisterProgressListener
Link copied to clipboard
fun unregisterProgressListener()

Inheritors

ZTDualDfu
Link copied to clipboard
ZTSingleDfu
Link copied to clipboard