Lenguaje

NotificationManager.DeleteNotificationChannel(String) Método

Definición

Elimina el canal de notificación especificado.

[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

Parámetros

channelId
String

String

Atributos

Comentarios

Elimina el canal de notificación especificado. Si crea un nuevo canal con este mismo identificador, el canal eliminado se eliminará con toda la misma configuración que tenía antes de que se eliminara.

Referencia de Android para android.app.NotificationManager.deleteNotificationChannel.

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