Język

Notification.DescribeContents Method

Definition

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

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

Returns

Zero for the base implementation.

Implements

Attributes

Remarks

The base implementation returns zero. A subclass can override this method.

Android reference for android.app.Notification.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