to top
AFEX APIs
public class

PackageStatsItem

extends Object
implements Parcelable
java.lang.Object
   ↳ com.ardic.android.parcelables.PackageStatsItem

Class Overview

Holds data which is related to application package status.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
long getAppSize()
long getCacheSize()
long getDataSize()
String getPackageName()
long getSDCardSize()
String getSizeStr(Context context, long size)
Converts long format size to string.
long getTotalSize()
long getUSBStorageAppSize()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public long getAppSize ()

Added in API level 1

Returns
long Application size

public long getCacheSize ()

Added in API level 1

Returns
long Application's cache size

public long getDataSize ()

Added in API level 1

Returns
long Application's data size

public String getPackageName ()

Added in API level 1

Returns
String Application's package name

public long getSDCardSize ()

Added in API level 1

Returns
long Application's sdcard size

public String getSizeStr (Context context, long size)

Added in API level 1

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 ()

Added in API level 1

Returns
long Application's total size

public long getUSBStorageAppSize ()

Added in API level 1

Returns
long Application's usb storage size