1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.hdl.sdk.ttl.HDLDeviceManger.HDLListener;
|
| /**
| * Created by JLChen on 2019/7/24
| */
| public interface IMcuOtaListener {
| /**
| * 升级成功回调
| */
| void onSuccess();
|
| /**
| * 升级失败回调
| * @param code
| */
| void onFailure(int code, String error);
|
| /**
| * 升级进度回调
| * @param progress
| */
| void onProgress(int progress);
|
| }
|
|