FieldClassification.DescribeContents Method

Definition

Describes the kinds of special objects contained in this parcelable's marshalled representation.

[Android.Runtime.Register("describeContents", "()I", "", ApiSince=34)]
public int DescribeContents();
[<Android.Runtime.Register("describeContents", "()I", "", ApiSince=34)>]
abstract member DescribeContents : unit -> int
override this.DescribeContents : unit -> int

Returns

0.

Implements

Attributes

Remarks

If an object includes a file descriptor in the output of WriteToParcel(Parcel, ParcelableWriteFlags), the return value must include ContentsFileDescriptor.

Applies to