FlutterNordicDfu class

Constructors

FlutterNordicDfu()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

abortDfu() Future<String>
startDfu(String address, String filePath, {String? name, DfuProgressListenerAdapter? progressListener, bool? fileInAsset, bool forceDfu = false, bool? enablePRNs, int? numberOfPackets, bool enableUnsafeExperimentalButtonlessServiceInSecureDfu = false, AndroidSpecialParameter androidSpecialParameter = const AndroidSpecialParameter(), IosSpecialParameter iosSpecialParameter = const IosSpecialParameter()}) Future<String>
Start dfu handle address android: mac address iOS: device uuid filePath zip file path name device name progressListener Dfu progress listener, You can use DefaultDfuProgressListenerAdapter fileInAsset if filePath is a asset path like 'asset/file.zip', must set this value to true, else false forceDfu Legacy DFU only, see in nordic library, default is false enableUnsafeExperimentalButtonlessServiceInSecureDfu see in nordic library, default is false androidSpecialParameter this parameters is only used by android lib iosSpecialParameter this parameters is only used by ios lib

Constants

NAMESPACE → const String