public class PackageInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<PackageInfo> |
CREATOR |
String |
overlayTarget
What package, if any, this package will overlay.
|
String |
packageName
The name of this package.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
PackageInfo() |
| Modifier and Type | Method and Description |
|---|---|
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 this
object.
|
void |
writeToParcel(Parcel dest,
int parcelableFlags)
Flatten this object in to a Parcel.
|
public String packageName
public String overlayTarget
public static final Parcelable.Creator<PackageInfo> CREATOR
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.
public int describeContents()
ParcelabledescribeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int parcelableFlags)
ParcelablewriteToParcel in interface Parcelabledest - The Parcel in which the object should be written.parcelableFlags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.