Aracılığıyla paylaş


Notification.DeleteIntent Property

Definition

The intent to execute when the notification is explicitly dismissed by the user, either with the "Clear All" button or by swiping it away individually.

[Android.Runtime.Register("deleteIntent")]
public Android.App.PendingIntent? DeleteIntent { get; set; }
[<Android.Runtime.Register("deleteIntent")>]
member this.DeleteIntent : Android.App.PendingIntent with get, set

Property Value

Attributes

Remarks

The intent to execute when the notification is explicitly dismissed by the user, either with the "Clear All" button or by swiping it away individually.

This probably shouldn't be launching an activity since several of those will be sent at the same time.

Java documentation for android.app.Notification.deleteIntent.

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