Class NotificationListenerService
- Namespace
- Android.Service.Notification
- Assembly
- MASES.Netdroid.dll
public class NotificationListenerService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Context>NotificationListenerService
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)JVMBridgeBase<Context>.IsAssignableFrom<T>()JVMBridgeBase<Context>.Execute<T>(params T[])JVMBridgeBase<Context>.DynBridgeClazzJVMBridgeBase<Context>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
NotificationListenerService()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("NotificationListenerService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NotificationListenerService()
NotificationListenerService(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("NotificationListenerService class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public NotificationListenerService(params object[] args)
Parameters
args
object[]
Properties
ACTION_SETTINGS_HOME
public static String ACTION_SETTINGS_HOME { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
FLAG_FILTER_TYPE_ALERTING
public static int FLAG_FILTER_TYPE_ALERTING { get; }
Property Value
FLAG_FILTER_TYPE_CONVERSATIONS
public static int FLAG_FILTER_TYPE_CONVERSATIONS { get; }
Property Value
FLAG_FILTER_TYPE_ONGOING
public static int FLAG_FILTER_TYPE_ONGOING { get; }
Property Value
FLAG_FILTER_TYPE_SILENT
public static int FLAG_FILTER_TYPE_SILENT { get; }
Property Value
HINT_HOST_DISABLE_CALL_EFFECTS
public static int HINT_HOST_DISABLE_CALL_EFFECTS { get; }
Property Value
HINT_HOST_DISABLE_EFFECTS
public static int HINT_HOST_DISABLE_EFFECTS { get; }
Property Value
HINT_HOST_DISABLE_NOTIFICATION_EFFECTS
public static int HINT_HOST_DISABLE_NOTIFICATION_EFFECTS { get; }
Property Value
INTERRUPTION_FILTER_ALARMS
public static int INTERRUPTION_FILTER_ALARMS { get; }
Property Value
INTERRUPTION_FILTER_ALL
public static int INTERRUPTION_FILTER_ALL { get; }
Property Value
INTERRUPTION_FILTER_NONE
public static int INTERRUPTION_FILTER_NONE { get; }
Property Value
INTERRUPTION_FILTER_PRIORITY
public static int INTERRUPTION_FILTER_PRIORITY { get; }
Property Value
INTERRUPTION_FILTER_UNKNOWN
public static int INTERRUPTION_FILTER_UNKNOWN { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
META_DATA_DEFAULT_AUTOBIND
public static String META_DATA_DEFAULT_AUTOBIND { get; }
Property Value
META_DATA_DEFAULT_FILTER_TYPES
public static String META_DATA_DEFAULT_FILTER_TYPES { get; }
Property Value
META_DATA_DISABLED_FILTER_TYPES
public static String META_DATA_DISABLED_FILTER_TYPES { get; }
Property Value
NOTIFICATION_CHANNEL_OR_GROUP_ADDED
public static int NOTIFICATION_CHANNEL_OR_GROUP_ADDED { get; }
Property Value
NOTIFICATION_CHANNEL_OR_GROUP_DELETED
public static int NOTIFICATION_CHANNEL_OR_GROUP_DELETED { get; }
Property Value
NOTIFICATION_CHANNEL_OR_GROUP_UPDATED
public static int NOTIFICATION_CHANNEL_OR_GROUP_UPDATED { get; }
Property Value
REASON_APP_CANCEL
public static int REASON_APP_CANCEL { get; }
Property Value
REASON_APP_CANCEL_ALL
public static int REASON_APP_CANCEL_ALL { get; }
Property Value
REASON_ASSISTANT_CANCEL
public static int REASON_ASSISTANT_CANCEL { get; }
Property Value
REASON_CANCEL
public static int REASON_CANCEL { get; }
Property Value
REASON_CANCEL_ALL
public static int REASON_CANCEL_ALL { get; }
Property Value
REASON_CHANNEL_BANNED
public static int REASON_CHANNEL_BANNED { get; }
Property Value
REASON_CHANNEL_REMOVED
public static int REASON_CHANNEL_REMOVED { get; }
Property Value
REASON_CLEAR_DATA
public static int REASON_CLEAR_DATA { get; }
Property Value
REASON_CLICK
public static int REASON_CLICK { get; }
Property Value
REASON_ERROR
public static int REASON_ERROR { get; }
Property Value
REASON_GROUP_OPTIMIZATION
public static int REASON_GROUP_OPTIMIZATION { get; }
Property Value
REASON_GROUP_SUMMARY_CANCELED
public static int REASON_GROUP_SUMMARY_CANCELED { get; }
Property Value
REASON_LISTENER_CANCEL
public static int REASON_LISTENER_CANCEL { get; }
Property Value
REASON_LISTENER_CANCEL_ALL
public static int REASON_LISTENER_CANCEL_ALL { get; }
Property Value
REASON_LOCKDOWN
public static int REASON_LOCKDOWN { get; }
Property Value
REASON_PACKAGE_BANNED
public static int REASON_PACKAGE_BANNED { get; }
Property Value
REASON_PACKAGE_CHANGED
public static int REASON_PACKAGE_CHANGED { get; }
Property Value
REASON_PACKAGE_SUSPENDED
public static int REASON_PACKAGE_SUSPENDED { get; }
Property Value
REASON_PROFILE_TURNED_OFF
public static int REASON_PROFILE_TURNED_OFF { get; }
Property Value
REASON_SNOOZED
public static int REASON_SNOOZED { get; }
Property Value
REASON_TIMEOUT
public static int REASON_TIMEOUT { get; }
Property Value
REASON_UNAUTOBUNDLED
public static int REASON_UNAUTOBUNDLED { get; }
Property Value
REASON_USER_STOPPED
public static int REASON_USER_STOPPED { get; }
Property Value
SERVICE_INTERFACE
public static String SERVICE_INTERFACE { get; }
Property Value
SUPPRESSED_EFFECT_SCREEN_OFF
[Obsolete]
public static int SUPPRESSED_EFFECT_SCREEN_OFF { get; }
Property Value
SUPPRESSED_EFFECT_SCREEN_ON
[Obsolete]
public static int SUPPRESSED_EFFECT_SCREEN_ON { get; }
Property Value
Methods
CancelAllNotifications()
public void CancelAllNotifications()
CancelNotification(String)
public void CancelNotification(String arg0)
Parameters
CancelNotification(String, String, int)
[Obsolete]
public void CancelNotification(String arg0, String arg1, int arg2)
Parameters
CancelNotifications(String[])
public void CancelNotifications(String[] arg0)
Parameters
ClearRequestedListenerHints()
public void ClearRequestedListenerHints()
GetActiveNotifications()
public StatusBarNotification[] GetActiveNotifications()
Returns
GetActiveNotifications(String[])
public StatusBarNotification[] GetActiveNotifications(String[] arg0)
Parameters
Returns
GetCurrentInterruptionFilter()
public int GetCurrentInterruptionFilter()
Returns
GetCurrentListenerHints()
public int GetCurrentListenerHints()
Returns
GetCurrentRanking()
public NotificationListenerService.RankingMap GetCurrentRanking()
Returns
GetNotificationChannelGroups(String, UserHandle)
public List<NotificationChannelGroup> GetNotificationChannelGroups(String arg0, UserHandle arg1)
Parameters
arg0
Stringarg1
UserHandle
Returns
GetNotificationChannels(String, UserHandle)
public List<NotificationChannel> GetNotificationChannels(String arg0, UserHandle arg1)
Parameters
arg0
Stringarg1
UserHandle
Returns
GetSnoozedNotifications()
public StatusBarNotification[] GetSnoozedNotifications()
Returns
MigrateNotificationFilter(int, List<String>)
public void MigrateNotificationFilter(int arg0, List<String> arg1)
Parameters
OnInterruptionFilterChanged(int)
public void OnInterruptionFilterChanged(int arg0)
Parameters
OnListenerConnected()
public void OnListenerConnected()
OnListenerDisconnected()
public void OnListenerDisconnected()
OnListenerHintsChanged(int)
public void OnListenerHintsChanged(int arg0)
Parameters
OnNotificationChannelGroupModified(String, UserHandle, NotificationChannelGroup, int)
public void OnNotificationChannelGroupModified(String arg0, UserHandle arg1, NotificationChannelGroup arg2, int arg3)
Parameters
arg0
Stringarg1
UserHandlearg2
NotificationChannelGrouparg3
int
OnNotificationChannelModified(String, UserHandle, NotificationChannel, int)
public void OnNotificationChannelModified(String arg0, UserHandle arg1, NotificationChannel arg2, int arg3)
Parameters
arg0
Stringarg1
UserHandlearg2
NotificationChannelarg3
int
OnNotificationPosted(StatusBarNotification)
public void OnNotificationPosted(StatusBarNotification arg0)
Parameters
OnNotificationPosted(StatusBarNotification, RankingMap)
public void OnNotificationPosted(StatusBarNotification arg0, NotificationListenerService.RankingMap arg1)
Parameters
OnNotificationRankingUpdate(RankingMap)
public void OnNotificationRankingUpdate(NotificationListenerService.RankingMap arg0)
Parameters
OnNotificationRemoved(StatusBarNotification)
public void OnNotificationRemoved(StatusBarNotification arg0)
Parameters
OnNotificationRemoved(StatusBarNotification, RankingMap)
public void OnNotificationRemoved(StatusBarNotification arg0, NotificationListenerService.RankingMap arg1)
Parameters
OnNotificationRemoved(StatusBarNotification, RankingMap, int)
public void OnNotificationRemoved(StatusBarNotification arg0, NotificationListenerService.RankingMap arg1, int arg2)
Parameters
arg0
StatusBarNotificationarg1
NotificationListenerService.RankingMaparg2
int
OnSilentStatusBarIconsVisibilityChanged(bool)
public void OnSilentStatusBarIconsVisibilityChanged(bool arg0)
Parameters
RequestInterruptionFilter(int)
public void RequestInterruptionFilter(int arg0)
Parameters
RequestListenerHints(int)
public void RequestListenerHints(int arg0)
Parameters
RequestRebind(ComponentName)
public static void RequestRebind(ComponentName arg0)
Parameters
RequestUnbind()
public void RequestUnbind()
RequestUnbind(ComponentName)
public static void RequestUnbind(ComponentName arg0)
Parameters
SetNotificationsShown(String[])
public void SetNotificationsShown(String[] arg0)
Parameters
SnoozeNotification(String, long)
public void SnoozeNotification(String arg0, long arg1)
Parameters
UpdateNotificationChannel(String, UserHandle, NotificationChannel)
public void UpdateNotificationChannel(String arg0, UserHandle arg1, NotificationChannel arg2)
Parameters
arg0
Stringarg1
UserHandlearg2
NotificationChannel