OADProxy class abstract
since v0.0.7
- Implementers
Constructors
- OADProxy.new({required OADType type, OADListener? listener})
Properties
-
fileBuffer
→ List<
int> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mListener ↔ OADListener?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ OADState
-
getter/setter pair
- type → OADType
-
final
Methods
-
isProgramming(
) → bool - 是否正在升级
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepare(
String deviceId, String filepath, bool isAssets) → void - 准备就绪后会回调{@link OADListener#onPrepared(String)}
-
release(
) → void - 不再使用时释放资源
-
startProgramming(
int sendInterval) → void - 开始OAD升级
-
stopProgramming(
) → void - 停止升级
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getOADProxy(
OADType type, OADListener listener) → OADProxy?
Constants
- fileBufferSize → const int
- halFlashWordSize → const int
- oadBlockSize → const int
- oadBufferSize → const int