Notification.TvExtender.SetChannelId(String) 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.
Spécifie le canal sur lequel la notification doit être remise lorsqu’elle est affichée sur la télévision.
[Android.Runtime.Register("setChannelId", "(Ljava/lang/String;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)]
public Android.App.Notification.TvExtender SetChannelId(string? channelId);
[<Android.Runtime.Register("setChannelId", "(Ljava/lang/String;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)>]
member this.SetChannelId : string -> Android.App.Notification.TvExtender
Paramètres
- channelId
- String
Chaîne : cette valeur peut être null.
Retours
cet objet pour le chaînage de méthodes. Cette valeur ne peut pas être null.
- Attributs
Remarques
Spécifie le canal sur lequel la notification doit être remise lorsqu’elle est affichée sur la télévision. Il peut être différent du canal auquel la notification est remise lors de la publication sur un appareil non-TV.
Référence Android pour android.app.Notification.TvExtender.setChannelId.
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.