Android.OS.Parcel Members

The members of Android.OS.Parcel are listed below.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
HasFileDescriptorsbool. Report whether the parcel contains any marshalled file descriptors.
[read-only]
static
StringCreatorIParcelableCreator.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AppendFrom(Parcel, int, int)
CreateBinderArray() : IBinder[]
CreateBinderArrayList() : IList<IBinder>
Read and return a new ArrayList containing IBinder objects from the parcel that was written with Parcel.writeBinderList(java.util.List<android.os.IBinder>) at the current dataPosition().
CreateBooleanArray() : bool[]
CreateByteArray() : byte[]
Read and return a byte[] object from the parcel.
CreateCharArray() : char[]
CreateDoubleArray() : double[]
CreateFloatArray() : float[]
CreateIntArray() : int[]
CreateLongArray() : long[]
CreateStringArray() : string[]
CreateStringArrayList() : IList<string>
Read and return a new ArrayList containing String objects from the parcel that was written with Parcel.writeStringList(java.util.List<java.lang.String>) at the current dataPosition().
CreateTypedArray(IParcelableCreator) : Java.Lang.Object[]
Documentation for this section has not yet been entered.
CreateTypedArrayList(IParcelableCreator) : IList
Documentation for this section has not yet been entered.
DataAvail() : int
Returns the amount of data remaining to be read from the parcel.
DataCapacity() : int
Returns the total amount of space in the parcel.
DataPosition() : int
Returns the current position in the parcel data.
DataSize() : int
Returns the total amount of data contained in the parcel.
EnforceInterface(string)
Marshall() : byte[]
Returns the raw bytes of the parcel.
static
Obtain() : Parcel
Retrieve a new Parcel object from the pool.
ReadArray(Java.Lang.ClassLoader) : Java.Lang.Object[]
Read and return a new Object array from the parcel at the current dataPosition().
ReadArrayList(Java.Lang.ClassLoader) : IList
Read and return a new ArrayList object from the parcel at the current dataPosition().
ReadBinderArray(IBinder[])
ReadBinderList(IList<IBinder>)
Documentation for this section has not yet been entered.
ReadBooleanArray(bool[])
ReadBundle() : Bundle
Read and return a new Bundle object from the parcel at the current dataPosition().
ReadBundle(Java.Lang.ClassLoader) : Bundle
Read and return a new Bundle object from the parcel at the current dataPosition(), using the given class loader to initialize the class loader of the Bundle for later retrieval of Parcelable objects.
ReadByte() : sbyte
Read a byte value from the parcel at the current dataPosition().
ReadByteArray(byte[])
Read a byte[] object from the parcel and copy it into the given byte array.
ReadCharArray(char[])
ReadDouble() : double
Read a double precision floating point value from the parcel at the current dataPosition().
ReadDoubleArray(double[])
ReadException()
Special function for reading an exception result from the header of a parcel, to be used after receiving the result of a transaction.
ReadException(int, string)
Throw an exception with the given message.
ReadFileDescriptor() : ParcelFileDescriptor
Read a FileDescriptor from the parcel at the current dataPosition().
ReadFloat() : float
Read a floating point value from the parcel at the current dataPosition().
ReadFloatArray(float[])
ReadHashMap(Java.Lang.ClassLoader) : IDictionary
Please use Parcel.ReadBundle(Java.Lang.ClassLoader) instead (whose data must have been written with Parcel.WriteBundle(Bundle).
ReadInt() : int
Read an integer value from the parcel at the current dataPosition().
ReadIntArray(int[])
ReadList(IList, Java.Lang.ClassLoader)
Read into an existing List object from the parcel at the current dataPosition(), using the given class loader to load any enclosed Parcelables.
ReadLong() : long
Read a long integer value from the parcel at the current dataPosition().
ReadLongArray(long[])
ReadMap(IDictionary, Java.Lang.ClassLoader)
Please use Parcel.ReadBundle(Java.Lang.ClassLoader) instead (whose data must have been written with Parcel.WriteBundle(Bundle).
ReadParcelable(Java.Lang.ClassLoader) : Java.Lang.Object
Read and return a new Parcelable from the parcel.
ReadParcelableArray(Java.Lang.ClassLoader) : IParcelable[]
Read and return a new Parcelable array from the parcel.
ReadPersistableBundle() : PersistableBundle
Read and return a new Bundle object from the parcel at the current dataPosition().
ReadPersistableBundle(Java.Lang.ClassLoader) : PersistableBundle
Read and return a new Bundle object from the parcel at the current dataPosition(), using the given class loader to initialize the class loader of the Bundle for later retrieval of Parcelable objects.
ReadSerializable() : Java.IO.ISerializable
Read and return a new Serializable object from the parcel.
ReadSize() : Android.Util.Size
Read a Size from the parcel at the current dataPosition().
ReadSizeF() : Android.Util.SizeF
Read a SizeF from the parcel at the current dataPosition().
ReadSparseArray(Java.Lang.ClassLoader) : Android.Util.SparseArray
Read and return a new SparseArray object from the parcel at the current dataPosition().
ReadSparseBooleanArray() : Android.Util.SparseBooleanArray
Read and return a new SparseBooleanArray object from the parcel at the current dataPosition().
ReadString() : string
Read a string value from the parcel at the current dataPosition().
ReadStringArray(string[])
ReadStringList(IList<string>)
Documentation for this section has not yet been entered.
ReadStrongBinder() : IBinder
Read an object from the parcel at the current dataPosition().
ReadTypedArray(Java.Lang.Object[], IParcelableCreator)
Documentation for this section has not yet been entered.
ReadTypedList(IList, IParcelableCreator)
Documentation for this section has not yet been entered.
ReadValue(Java.Lang.ClassLoader) : Java.Lang.Object
Read a typed object from a parcel.
Recycle()
Put a Parcel object back into the pool.
SetDataCapacity(int)
Change the capacity (current available space) of the parcel.
SetDataPosition(int)
Move the current read/write position in the parcel.
SetDataSize(int)
Change the amount of data in the parcel.
Unmarshall(byte[], int, int)
Set the bytes in data to be the raw bytes of this Parcel.
WriteArray(Java.Lang.Object[])
Flatten an Object array into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteBinderArray(IBinder[])
WriteBinderList(IList<IBinder>)
Documentation for this section has not yet been entered.
WriteBooleanArray(bool[])
WriteBundle(Bundle)
Flatten a Bundle into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteByte(sbyte)
Write a byte value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteByteArray(byte[])
Write a byte array into the parcel at the current Parcel.DataPosition, growing Parcel.DataCapacity if needed.
WriteByteArray(byte[], int, int)
Write a byte array into the parcel at the current Parcel.DataPosition, growing Parcel.DataCapacity if needed.
WriteCharArray(char[])
WriteDouble(double)
Write a double precision floating point value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteDoubleArray(double[])
WriteException(Java.Lang.Exception)
Special function for writing an exception result at the header of a parcel, to be used when returning an exception from a transaction.
WriteFileDescriptor(Java.IO.FileDescriptor)
Write a FileDescriptor into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteFloat(float)
Write a floating point value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteFloatArray(float[])
WriteInt(int)
Write an integer value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteIntArray(int[])
WriteInterfaceToken(string)
Store or read an IBinder interface token in the parcel at the current Parcel.DataPosition.
WriteList(IList)
Flatten a List into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteLong(long)
Write a long integer value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteLongArray(long[])
WriteMap(IDictionary)
Please use Parcel.WriteBundle(Bundle) instead.
WriteNoException()
Special function for writing information at the front of the Parcel indicating that no exception occurred.
WriteParcelable(IParcelable, ParcelableWriteFlags)
Flatten the name of the class of the Parcelable and its contents into the parcel.
WriteParcelableArray(Java.Lang.Object[], ParcelableWriteFlags)
Documentation for this section has not yet been entered.
WritePersistableBundle(PersistableBundle)
Flatten a PersistableBundle into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteSerializable(Java.IO.ISerializable)
Write a generic serializable object in to a Parcel.
WriteSize(Android.Util.Size)
Flatten a Size into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteSizeF(Android.Util.SizeF)
Flatten a SizeF into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteSparseArray(Android.Util.SparseArray)
Documentation for this section has not yet been entered.
WriteSparseBooleanArray(Android.Util.SparseBooleanArray)
WriteString(string)
Write a string value into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteStringArray(string[])
WriteStringList(IList<string>)
Documentation for this section has not yet been entered.
WriteStrongBinder(IBinder)
Write an object into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteStrongInterface(IInterface)
Write an object into the parcel at the current dataPosition(), growing dataCapacity() if needed.
WriteTypedArray(Java.Lang.Object[], ParcelableWriteFlags)
Documentation for this section has not yet been entered.
WriteTypedList(IList)
Documentation for this section has not yet been entered.
WriteValue(Java.Lang.Object)
Flatten a generic object in to a parcel.

Protected Methods

static
Obtain(int) : Parcel