Android
android.content.pm
public class

android.content.pm.PackageStats

java.lang.Object
android.content.pm.PackageStats Parcelable

implementation of PackageStats associated with a application package.

Summary

Constants

      Value  
Creator<PackageStats CREATOR       
Constants inherited from interface android.os.Parcelable

Fields

public      long  cacheSize   
public      long  codeSize   
public      long  dataSize   
public      String  packageName   

Public Constructors

            PackageStats(String pkgName)
            PackageStats(Parcel source)
            PackageStats(PackageStats pStats)

Public Methods

          int  describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
          void  writeToParcel(Parcel dest, int parcelableFlags)
Flatten this object in to a Parcel.
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator<PackageStats> CREATOR

Fields

public long cacheSize

public long codeSize

public long dataSize

public String packageName

Public Constructors

public PackageStats(String pkgName)

public PackageStats(Parcel source)

public PackageStats(PackageStats pStats)

Public Methods

public int describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.

public void writeToParcel(Parcel dest, int parcelableFlags)

Flatten this object in to a Parcel.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56