Ota class
设备固件升级
- Inheritance
-
- Object
- WisystemSDk
- Ota
Constructors
- Ota()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkUpVersion(
String deviceId) → Future< Map> - 检测是否有新版本
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startBleOta(
{required String deviceId, required dynamic progress(double value)}) → Future - 启动蓝牙ota
-
stopBleOta(
String deviceId) → dynamic - 停止蓝牙ota
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited