Condividi tramite


Notification.Builder.SetContentIntent(PendingIntent) Metodo

Definizione

Specificare un PendingIntent oggetto da inviare quando si fa clic sulla notifica.

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

Parametri

intent
PendingIntent

Oggetto PendingIntent da inviare.

Restituisce

Attributi

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

Vedi anche