Notification.TvExtender.SetContentIntent(PendingIntent) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit un PendingIntent à envoyer lorsque la notification est sélectionnée sur la télévision.
[Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)]
public Android.App.Notification.TvExtender SetContentIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setContentIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)>]
member this.SetContentIntent : Android.App.PendingIntent -> Android.App.Notification.TvExtender
Paramètres
- intent
- PendingIntent
PendingIntent : PendingIntent pour le contenu de notification associé. Cette valeur peut être null.
Retours
cet objet pour le chaînage de méthodes. Cette valeur ne peut pas être null.
- Attributs
Remarques
Fournit un PendingIntent à envoyer lorsque la notification est sélectionnée sur la télévision. S’il est fourni, il est utilisé au lieu de l’intention de contenu spécifiée au niveau de notification.
Référence Android pour android.app.Notification.TvExtender.setContentIntent.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.