Class Overview
Holds data which is related to application package status.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_ELIDE_DUPLICATES |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public Methods
public
long
getAppSize
()
Returns |
long |
Application size
|
public
long
getCacheSize
()
Returns |
long |
Application's cache size
|
public
long
getDataSize
()
Returns |
long |
Application's data size
|
public
String
getPackageName
()
Returns |
String |
Application's package name
|
public
long
getSDCardSize
()
Returns |
long |
Application's sdcard size
|
public
String
getSizeStr
(Context context, long size)
Converts long format size to string.
Parameters |
context |
Context :
Conversion main context |
size |
long :
Long formatted size value |
Returns |
String |
String formatted size value
|
public
long
getTotalSize
()
Returns |
long |
Application's total size
|
public
long
getUSBStorageAppSize
()
Returns |
long |
Application's usb storage size
|