Package 

Interface MeshUpgradeListener

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onUpgrade

         abstract void onUpgrade(int percent)

        Ota progress.

        Parameters:
        percent - progress
      • onFail

         abstract void onFail(String errorCode, String errorMsg)

        Ota failed.

        Parameters:
        errorCode - Error code.
        errorMsg - Error message.