NotificationManager.DeleteNotificationChannel(String) Método

Definição

Exclui o canal de notificação 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

Comentários

Exclui o canal de notificação especificado. Se você criar um novo canal com essa mesma ID, o canal excluído não será excluído com todas as mesmas configurações que tinha antes de ser excluído.

Referência do Android para android.app.NotificationManager.deleteNotificationChannel.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a