Langue

NotificationManager.DeleteNotificationChannel(String) Méthode

Définition

Supprime le canal de notification donné.

[Android.Runtime.Register("deleteNotificationChannel", "(Ljava/lang/String;)V", "GetDeleteNotificationChannel_Ljava_lang_String_Handler", ApiSince=26)]
public virtual void DeleteNotificationChannel(string? channelId);
[<Android.Runtime.Register("deleteNotificationChannel", "(Ljava/lang/String;)V", "GetDeleteNotificationChannel_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member DeleteNotificationChannel : string -> unit
override this.DeleteNotificationChannel : string -> unit

Paramètres

channelId
String

String

Attributs

Remarques

Supprime le canal de notification donné. Si vous créez un canal avec ce même ID, le canal supprimé sera supprimé avec tous les mêmes paramètres qu’avant sa suppression.

Référence Android pour android.app.NotificationManager.deleteNotificationChannel.

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.

S’applique à