Language

ContentCaptureContext.DescribeContents Method

Definition

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

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

Returns

A bitmask indicating the special object types marshaled by this instance. The value is 0 or ContentsFileDescriptor.

Implements

Attributes

Remarks

Describes the kinds of special objects contained in this instance's marshaled representation. If WriteToParcel(Parcel, ParcelableWriteFlags) writes a file descriptor, the result must include ContentsFileDescriptor.

Android reference for android.view.contentcapture.ContentCaptureContext.describeContents.

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.

Applies to