Class MemoryStorageCtrl

java.lang.Object
com.unitech.api.memory.MemoryStorageCtrl

public class MemoryStorageCtrl extends Object
  • Field Details

  • Constructor Details

    • MemoryStorageCtrl

      public MemoryStorageCtrl(Context context)
  • Method Details

    • getTotalRAMSize

      public Bundle getTotalRAMSize()
      Get Total RAM Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getTotalRAMSize=bundle.getString("getTotalRAMSize");
    • getAvailableRAMSize

      public Bundle getAvailableRAMSize()
      Get Available RAM Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getAvailableRAMSize=bundle.getString("getAvailableRAMSize");
    • getTotalInternalStorageSize

      public Bundle getTotalInternalStorageSize()
      Get Total Internal Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getTotalInternalStorageSize=bundle.getString("getTotalInternalStorageSize");
    • getAvailableInternalStorageSize

      public Bundle getAvailableInternalStorageSize()
      Get Available Internal Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getAvailableInternalStorageSize=bundle.getString("getAvailableInternalStorageSize");
    • getTotalExternalStorageSize

      public Bundle getTotalExternalStorageSize()
      Get Total External Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getTotalExternalStorageSize=bundle.getString("getTotalExternalStorageSize");
    • getAvailableExternalStorageSize

      public Bundle getAvailableExternalStorageSize()
      Get Available External Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getAvailableExternalStorageSize=bundle.getString("getAvailableExternalStorageSize");
    • getAvailableFlashSize

      public Bundle getAvailableFlashSize()
      Get Available Flash Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getAvailableFlashSize=bundle.getString("getAvailableFlashSize");
    • getTotalFlashSize

      public Bundle getTotalFlashSize()
      Get Total Flash Storage Size
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg=bundle.getString("errorMsg");
      String getTotalFlashSize=bundle.getString("getTotalFlashSize");