Language

InlinePresentation.DescribeContents Method

Definition

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

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

Returns

A bitmask of special object types. This method can return 0 even when a nested bundle contains file descriptors. Value is either 0 or CONTENTS_FILE_DESCRIPTOR

Implements

Attributes

Remarks

The parcelable contract requires the file descriptor bit when the marshaled representation includes a file descriptor. This implementation can return 0 even when a nested bundle contains file descriptors.

Android reference for android.service.autofill.InlinePresentation.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