Package android.os

Class ParcelableParcel

  • All Implemented Interfaces:
    Parcelable

    public class ParcelableParcel
    extends Object
    implements Parcelable
    Parcelable containing a raw Parcel of data.
    • Constructor Detail

      • ParcelableParcel

        public ParcelableParcel​(ClassLoader loader)
    • Method Detail

      • getParcel

        public Parcel getParcel()
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        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: Parcelable
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The Parcel in which the object should be written.
        flags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.