Package android.os
Class ParcelableParcel
- java.lang.Object
-
- android.os.ParcelableParcel
-
- All Implemented Interfaces:
Parcelable
public class ParcelableParcel extends Object implements Parcelable
Parcelable containing a raw Parcel of data.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.ClassLoaderCreator<ParcelableParcel>CREATOR-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description ParcelableParcel(Parcel src, ClassLoader loader)ParcelableParcel(ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()Describe the kinds of special objects contained in this Parcelable's marshalled representation.ClassLoadergetClassLoader()ParcelgetParcel()voidwriteToParcel(Parcel dest, int flags)Flatten this object in to a Parcel.
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.ClassLoaderCreator<ParcelableParcel> CREATOR
-
-
Constructor Detail
-
ParcelableParcel
public ParcelableParcel(ClassLoader loader)
-
ParcelableParcel
public ParcelableParcel(Parcel src, ClassLoader loader)
-
-
Method Detail
-
getParcel
public Parcel getParcel()
-
getClassLoader
public ClassLoader getClassLoader()
-
describeContents
public int describeContents()
Description copied from interface:ParcelableDescribe the kinds of special objects contained in this Parcelable's marshalled representation.- Specified by:
describeContentsin interfaceParcelable- Returns:
- a bitmask indicating the set of special object types marshalled by the Parcelable.
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Description copied from interface:ParcelableFlatten this object in to a Parcel.- Specified by:
writeToParcelin interfaceParcelable- Parameters:
dest- The Parcel in which the object should be written.flags- Additional flags about how the object should be written. May be 0 orParcelable.PARCELABLE_WRITE_RETURN_VALUE.
-
-