Class FotaCtrl


  • public class FotaCtrl
    extends java.lang.Object
    The type Fota ctrl.
    • Constructor Summary

      Constructors 
      Constructor Description
      FotaCtrl​(android.content.Context context)
      Instantiates a new Fota ctrl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      android.os.Bundle silentOSUpdate​(java.lang.String updateZipPath)
      Silent os update.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FotaCtrl

        public FotaCtrl​(android.content.Context context)
        Instantiates a new Fota ctrl.
        Parameters:
        context - the context
    • Method Detail

      • silentOSUpdate

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