Package com.unitech.api.memory
Class MemoryStorageCtrl
java.lang.Object
com.unitech.api.memory.MemoryStorageCtrl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBundleGet Available External Storage SizeBundleGet Available Flash Storage SizeBundleGet Available Internal Storage SizeBundleGet Available RAM SizeBundleGet Total External Storage SizeBundleGet Total Flash Storage SizeBundleGet Total Internal Storage SizeBundleGet Total RAM Size
-
Field Details
-
RESULT_CODE_ERROR
public static final int RESULT_CODE_ERROR- See Also:
-
-
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");
-