NotificationListenerService
Ranking
RankingMap
ActionSettingsHome
FlagFilterTypeAlerting
FlagFilterTypeConversations
FlagFilterTypeOngoing
FlagFilterTypeSilent
MetaDataDefaultAutobind
MetaDataDefaultFilterTypes
MetaDataDisabledFilterTypes
ReasonAssistantCancel
ReasonChannelRemoved
ReasonClearData
ReasonLockdown
ServiceInterface
SuppressedEffectScreenOff
SuppressedEffectScreenOn
NotificationListenerService()
NotificationListenerService(IntPtr, JniHandleOwnership)
CurrentInterruptionFilter
CurrentListenerHints
CurrentRanking
JniPeerMembers
ThresholdClass
ThresholdType
CancelAllNotifications()
CancelNotification(String)
CancelNotification(String, String, Int32)
CancelNotifications(String[])
ClearRequestedListenerHints()
GetActiveNotifications()
GetActiveNotifications(String[])
GetNotificationChannelGroups(String, UserHandle)
GetNotificationChannels(String, UserHandle)
GetSnoozedNotifications()
MigrateNotificationFilter(Int32, IList<String>)
OnBind(Intent)
OnInterruptionFilterChanged(InterruptionFilterType)
OnListenerConnected()
OnListenerDisconnected()
OnListenerHintsChanged(NotificationListenerServiceHint)
OnNotificationChannelGroupModified(String, UserHandle, NotificationChannelGroup, NotificationChannelOrGroupEventType)
OnNotificationChannelModified(String, UserHandle, NotificationChannel, NotificationChannelOrGroupEventType)
OnNotificationPosted(StatusBarNotification)
OnNotificationPosted(StatusBarNotification, RankingMap)
OnNotificationRankingUpdate(RankingMap)
OnNotificationRemoved(StatusBarNotification)
OnNotificationRemoved(StatusBarNotification, RankingMap)
OnNotificationRemoved(StatusBarNotification, RankingMap, NotificationCancelReason)
OnSilentStatusBarIconsVisibilityChanged(Boolean)
RequestInterruptionFilter(InterruptionFilterType)
RequestListenerHints(NotificationListenerServiceHint)
RequestRebind(ComponentName)
RequestUnbind()
RequestUnbind(ComponentName)
SetNotificationsShown(String[])
SnoozeNotification(String, Int64)
UpdateNotificationChannel(String, UserHandle, NotificationChannel)
net9.0-android34.0
namespace Android.Service.Notification
{
[Register("android/service/notification/NotificationListenerService", DoNotGenerateAcw = true)]
public abstract class NotificationListenerService : Service
{
[Register("SERVICE_INTERFACE")]
public const string! ServiceInterface = "android.service.notification.NotificationListenerService";
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API