IParcelable Interface

Definition

Interface for classes whose instances can be written to and restored from a Parcel.

[Android.Runtime.Register("android/os/Parcelable", "", "Android.OS.IParcelableInvoker")]
public interface IParcelable : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/os/Parcelable", "", "Android.OS.IParcelableInvoker")>]
type IParcelable = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ContentsFileDescriptor

Descriptor bit used with #describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode (Inherited from IJavaPeerable)
JniManagedPeerState (Inherited from IJavaPeerable)
JniPeerMembers (Inherited from IJavaPeerable)
PeerReference (Inherited from IJavaPeerable)

Methods

DescribeContents()

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

Disposed() (Inherited from IJavaPeerable)
DisposeUnlessReferenced() (Inherited from IJavaPeerable)
Finalized() (Inherited from IJavaPeerable)
SetJniIdentityHashCode(Int32) (Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference) (Inherited from IJavaPeerable)
UnregisterFromRuntime() (Inherited from IJavaPeerable)
WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to