NotificationManager.DeleteNotificationChannel(String) メソッド

定義

指定された通知チャネルを削除します。

[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

パラメーター

channelId
String
属性

注釈

指定された通知チャネルを削除します。

この同じ ID を持つ新しいチャネルの場合 #createNotificationChannel(NotificationChannel) create 、削除されたチャネルは削除前と同じ設定ですべて削除されません。

の Java ドキュメント android.app.NotificationManager.deleteNotificationChannel(java.lang.String)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象