-
public interface MeshUpgradeListener
Created by zsg on 17/10/20.
-
-
Method Summary
Modifier and Type Method Description abstract void
onUpgrade(int percent)
Ota progress. abstract void
onSendSuccess()
File send success. abstract void
onUpgradeSuccess()
Ota success. abstract void
onFail(String errorCode, String errorMsg)
Ota failed. -
-
Method Detail
-
onUpgrade
abstract void onUpgrade(int percent)
Ota progress.
- Parameters:
percent
- progress
-
onSendSuccess
abstract void onSendSuccess()
File send success.
-
onUpgradeSuccess
abstract void onUpgradeSuccess()
Ota success.
-
onFail
abstract void onFail(String errorCode, String errorMsg)
Ota failed.
- Parameters:
errorCode
- Error code.errorMsg
- Error message.
-
-
-
-