net9.0-android
namespace Android.Service.Notification
{
    [Register("android/service/notification/NotificationListenerService", DoNotGenerateAcw = true)]
    public abstract class NotificationListenerService : Service
    {
        [Register("getNotificationChannels", "(Ljava/lang/String;Landroid/os/UserHandle;)Ljava/util/List;", "", ApiSince = 26)]
        [SupportedOSPlatform("android26.0")]
        public IList<NotificationChannel!>? GetNotificationChannels(string! pkg, UserHandle! user);
    }
}
Assembly Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-android7.0-android8.0-android9.0-android
Xamarin Android 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • Android >= 26
  • Built-in API
  • Package-provided API

04/23/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙