Lenguaje

Notification.ProjectedExtender.SetContentIntent(PendingIntent) Método

Definición

Establece el PendingIntent que se abrirá en el dispositivo proyectado cuando se pulsa la notificación en el dispositivo.

[Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$ProjectedExtender;", "", ApiSince=37)]
public Android.App.Notification.ProjectedExtender SetContentIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$ProjectedExtender;", "", ApiSince=37)>]
member this.SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.ProjectedExtender

Parámetros

intent
PendingIntent

PendingIntent que se activará pulsando. Este valor puede ser null.

Devoluciones

este objeto ProjectedExtender para encadenar. Este valor no puede ser nulo.

Atributos

Comentarios

Establece el PendingIntent que se abrirá en el dispositivo proyectado cuando se pulsa la notificación en el dispositivo. Esto es distinto del objeto Notification.contentIntent principal de la notificación, que normalmente se desencadena cuando se pulsa la notificación en el dispositivo host (por ejemplo, el teléfono).

Referencia de Android para android.app.Notification.ProjectedExtender.setContentIntent.

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