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
{
[Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)]
[Register("REASON_LOCKDOWN", ApiSince = 34)]
[SupportedOSPlatform("android34.0")]
public const NotificationCancelReason ReasonLockdown = NotificationCancelReason.Lockdown;
}
}
.NET | 8.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. |
Obsolete | This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API