Lenguaje

Notification.Builder.SetDeleteIntent(PendingIntent) Método

Definición

Proporcione un PendingIntent para enviar cuando el usuario borre explícitamente la notificación.

[Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetDeleteIntent_Landroid_app_PendingIntent_Handler")]
public virtual Android.App.Notification.Builder SetDeleteIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetDeleteIntent_Landroid_app_PendingIntent_Handler")>]
abstract member SetDeleteIntent : Android.App.PendingIntent -> Android.App.Notification.Builder
override this.SetDeleteIntent : Android.App.PendingIntent -> Android.App.Notification.Builder

Parámetros

intent
PendingIntent

PendingIntent

Devoluciones

Esta instancia de Android.App.Notification.Builder, lo que permite encadenar llamadas.

Atributos

Comentarios

Proporcione un PendingIntent para enviar cuando el usuario borre explícitamente la notificación.

Consulte también:

Referencia de Android para android.app.Notification.Builder.setDeleteIntent.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a