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 TypeMethodDescriptionandroid.os.BundleGet Available External Storage Sizeandroid.os.BundleGet Available Flash Storage Sizeandroid.os.BundleGet Available Internal Storage Sizeandroid.os.BundleGet Available RAM Sizeandroid.os.BundleGet Total External Storage Sizeandroid.os.BundleGet Total Flash Storage Sizeandroid.os.BundleGet Total Internal Storage Sizeandroid.os.BundleGet Total RAM Size
-
Field Details
-
RESULT_CODE_ERROR
public static final int RESULT_CODE_ERROR- See Also:
-
-
Constructor Details
-
MemoryStorageCtrl
public MemoryStorageCtrl(android.content.Context context)
-
-
Method Details
-
getTotalRAMSize
public android.os.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 android.os.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 android.os.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 android.os.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 android.os.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 android.os.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 android.os.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 android.os.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");
-