Class FotaCtrl

java.lang.Object
com.unitech.api.fota.FotaCtrl

public class FotaCtrl extends Object
The type Fota ctrl.
  • Field Details

  • Constructor Details

    • FotaCtrl

      public FotaCtrl(Context context)
      Instantiates a new Fota ctrl.
      Parameters:
      context - the context
  • Method Details

    • silentOSUpdate

      public Bundle silentOSUpdate(String updateZipPath)
      Silent os update.
      Parameters:
      updateZipPath - the update zip path (String)
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg = bundle.getString("errorMsg");