NotificationManager.DeleteNotificationChannel(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the given notification channel.
[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
Parameters
- channelId
- String
- Attributes
Remarks
Deletes the given notification channel.
If you #createNotificationChannel(NotificationChannel) create
a new channel with this same id, the deleted channel will be un-deleted with all of the same settings it had before it was deleted.
Java documentation for android.app.NotificationManager.deleteNotificationChannel(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.