ZTSingleDfu

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

ZTSingleDfu

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

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

Functions

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

Properties

context
Link copied to clipboard
protected open override var context: Context
deviceName
Link copied to clipboard
protected open override var deviceName: String?
fileUri
Link copied to clipboard
protected open override var fileUri: String
macAddress
Link copied to clipboard
protected open override var macAddress: String