Language

DirectAction.DescribeContents Method

Definition

Returns zero as the description of this action's parcel contents.

[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

Zero on Android 10 through Android 17.

Implements

Attributes

Remarks

On those Android versions, the implementation returns zero even when the extras contain file descriptors.

Android reference for android.app.DirectAction.describeContents.

Applies to