Class NotificationManager
public class NotificationManager : JVMBridgeBase<NotificationManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<NotificationManager>NotificationManager
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<NotificationManager>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<NotificationManager>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])JVMBridgeBase<NotificationManager>.IsAssignableFrom(IJavaType)JVMBridgeBase<NotificationManager>.IsAssignableFrom<T>()JVMBridgeBase<NotificationManager>.Execute<T>(params T[])JVMBridgeBase<NotificationManager>.DynBridgeClazzJVMBridgeBase<NotificationManager>.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
NotificationManager()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public NotificationManager()
NotificationManager(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
public NotificationManager(params object[] args)
Parameters
args
object[]
Properties
ACTION_APP_BLOCK_STATE_CHANGED
public static String ACTION_APP_BLOCK_STATE_CHANGED { get; }
Property Value
ACTION_AUTOMATIC_ZEN_RULE
public static String ACTION_AUTOMATIC_ZEN_RULE { get; }
Property Value
ACTION_AUTOMATIC_ZEN_RULE_STATUS_CHANGED
public static String ACTION_AUTOMATIC_ZEN_RULE_STATUS_CHANGED { get; }
Property Value
ACTION_CONSOLIDATED_NOTIFICATION_POLICY_CHANGED
public static String ACTION_CONSOLIDATED_NOTIFICATION_POLICY_CHANGED { get; }
Property Value
ACTION_INTERRUPTION_FILTER_CHANGED
public static String ACTION_INTERRUPTION_FILTER_CHANGED { get; }
Property Value
ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED
public static String ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED { get; }
Property Value
ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED
public static String ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED { get; }
Property Value
ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED
public static String ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED { get; }
Property Value
ACTION_NOTIFICATION_POLICY_CHANGED
public static String ACTION_NOTIFICATION_POLICY_CHANGED { get; }
Property Value
AUTOMATIC_RULE_STATUS_ACTIVATED
public static int AUTOMATIC_RULE_STATUS_ACTIVATED { get; }
Property Value
AUTOMATIC_RULE_STATUS_DEACTIVATED
public static int AUTOMATIC_RULE_STATUS_DEACTIVATED { get; }
Property Value
AUTOMATIC_RULE_STATUS_DISABLED
public static int AUTOMATIC_RULE_STATUS_DISABLED { get; }
Property Value
AUTOMATIC_RULE_STATUS_ENABLED
public static int AUTOMATIC_RULE_STATUS_ENABLED { get; }
Property Value
AUTOMATIC_RULE_STATUS_REMOVED
public static int AUTOMATIC_RULE_STATUS_REMOVED { get; }
Property Value
AUTOMATIC_RULE_STATUS_UNKNOWN
public static int AUTOMATIC_RULE_STATUS_UNKNOWN { get; }
Property Value
BUBBLE_PREFERENCE_ALL
public static int BUBBLE_PREFERENCE_ALL { get; }
Property Value
BUBBLE_PREFERENCE_NONE
public static int BUBBLE_PREFERENCE_NONE { get; }
Property Value
BUBBLE_PREFERENCE_SELECTED
public static int BUBBLE_PREFERENCE_SELECTED { 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
EXTRA_AUTOMATIC_RULE_ID
https://developer.android.com/reference/android/app/NotificationManager.html#EXTRA_AUTOMATIC_RULE_ID
public static String EXTRA_AUTOMATIC_RULE_ID { get; }
Property Value
EXTRA_AUTOMATIC_ZEN_RULE_ID
public static String EXTRA_AUTOMATIC_ZEN_RULE_ID { get; }
Property Value
EXTRA_AUTOMATIC_ZEN_RULE_STATUS
public static String EXTRA_AUTOMATIC_ZEN_RULE_STATUS { get; }
Property Value
EXTRA_BLOCKED_STATE
public static String EXTRA_BLOCKED_STATE { get; }
Property Value
EXTRA_NOTIFICATION_CHANNEL_GROUP_ID
public static String EXTRA_NOTIFICATION_CHANNEL_GROUP_ID { get; }
Property Value
EXTRA_NOTIFICATION_CHANNEL_ID
public static String EXTRA_NOTIFICATION_CHANNEL_ID { get; }
Property Value
EXTRA_NOTIFICATION_POLICY
public static String EXTRA_NOTIFICATION_POLICY { get; }
Property Value
IMPORTANCE_DEFAULT
public static int IMPORTANCE_DEFAULT { get; }
Property Value
IMPORTANCE_HIGH
public static int IMPORTANCE_HIGH { get; }
Property Value
IMPORTANCE_LOW
public static int IMPORTANCE_LOW { get; }
Property Value
IMPORTANCE_MAX
public static int IMPORTANCE_MAX { get; }
Property Value
IMPORTANCE_MIN
public static int IMPORTANCE_MIN { get; }
Property Value
IMPORTANCE_NONE
public static int IMPORTANCE_NONE { get; }
Property Value
IMPORTANCE_UNSPECIFIED
public static int IMPORTANCE_UNSPECIFIED { get; }
Property Value
INTERRUPTION_FILTER_ALARMS
public static int INTERRUPTION_FILTER_ALARMS { get; }
Property Value
INTERRUPTION_FILTER_ALL
https://developer.android.com/reference/android/app/NotificationManager.html#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_AUTOMATIC_RULE_TYPE
public static String META_DATA_AUTOMATIC_RULE_TYPE { get; }
Property Value
META_DATA_RULE_INSTANCE_LIMIT
public static String META_DATA_RULE_INSTANCE_LIMIT { get; }
Property Value
Methods
AddAutomaticZenRule(AutomaticZenRule)
public String AddAutomaticZenRule(AutomaticZenRule arg0)
Parameters
Returns
AreAutomaticZenRulesUserManaged()
public bool AreAutomaticZenRulesUserManaged()
Returns
AreBubblesAllowed()
[Obsolete]
public bool AreBubblesAllowed()
Returns
AreBubblesEnabled()
public bool AreBubblesEnabled()
Returns
AreNotificationsEnabled()
public bool AreNotificationsEnabled()
Returns
AreNotificationsPaused()
public bool AreNotificationsPaused()
Returns
CanNotifyAsPackage(String)
public bool CanNotifyAsPackage(String arg0)
Parameters
Returns
CanUseFullScreenIntent()
public bool CanUseFullScreenIntent()
Returns
Cancel(String, int)
public void Cancel(String arg0, int arg1)
Parameters
Cancel(int)
public void Cancel(int arg0)
Parameters
CancelAll()
public void CancelAll()
CancelAsPackage(String, String, int)
public void CancelAsPackage(String arg0, String arg1, int arg2)
Parameters
CreateNotificationChannel(NotificationChannel)
public void CreateNotificationChannel(NotificationChannel arg0)
Parameters
CreateNotificationChannelGroup(NotificationChannelGroup)
public void CreateNotificationChannelGroup(NotificationChannelGroup arg0)
Parameters
CreateNotificationChannelGroups(List<NotificationChannelGroup>)
public void CreateNotificationChannelGroups(List<NotificationChannelGroup> arg0)
Parameters
arg0
List<NotificationChannelGroup>
CreateNotificationChannels(List<NotificationChannel>)
public void CreateNotificationChannels(List<NotificationChannel> arg0)
Parameters
arg0
List<NotificationChannel>
DeleteNotificationChannel(String)
public void DeleteNotificationChannel(String arg0)
Parameters
DeleteNotificationChannelGroup(String)
public void DeleteNotificationChannelGroup(String arg0)
Parameters
GetActiveNotifications()
public StatusBarNotification[] GetActiveNotifications()
Returns
GetAutomaticZenRule(String)
public AutomaticZenRule GetAutomaticZenRule(String arg0)
Parameters
Returns
GetAutomaticZenRuleState(String)
public int GetAutomaticZenRuleState(String arg0)
Parameters
Returns
GetAutomaticZenRules()
public Map<String, AutomaticZenRule> GetAutomaticZenRules()
Returns
GetBubblePreference()
public int GetBubblePreference()
Returns
GetConsolidatedNotificationPolicy()
public NotificationManager.Policy GetConsolidatedNotificationPolicy()
Returns
GetCurrentInterruptionFilter()
public int GetCurrentInterruptionFilter()
Returns
GetImportance()
public int GetImportance()
Returns
GetNotificationChannel(String)
public NotificationChannel GetNotificationChannel(String arg0)
Parameters
Returns
GetNotificationChannel(String, String)
public NotificationChannel GetNotificationChannel(String arg0, String arg1)
Parameters
Returns
GetNotificationChannelGroup(String)
public NotificationChannelGroup GetNotificationChannelGroup(String arg0)
Parameters
Returns
GetNotificationChannelGroups()
public List<NotificationChannelGroup> GetNotificationChannelGroups()
Returns
GetNotificationChannels()
public List<NotificationChannel> GetNotificationChannels()
Returns
GetNotificationDelegate()
public String GetNotificationDelegate()
Returns
GetNotificationPolicy()
https://developer.android.com/reference/android/app/NotificationManager.html#getNotificationPolicy()
public NotificationManager.Policy GetNotificationPolicy()
Returns
IsNotificationListenerAccessGranted(ComponentName)
public bool IsNotificationListenerAccessGranted(ComponentName arg0)
Parameters
Returns
IsNotificationPolicyAccessGranted()
public bool IsNotificationPolicyAccessGranted()
Returns
MatchesCallFilter(Uri)
public bool MatchesCallFilter(Uri arg0)
Parameters
Returns
Notify(String, int, Notification)
public void Notify(String arg0, int arg1, Notification arg2)
Parameters
arg0
Stringarg1
intarg2
Notification
Notify(int, Notification)
public void Notify(int arg0, Notification arg1)
Parameters
arg0
intarg1
Notification
NotifyAsPackage(String, String, int, Notification)
public void NotifyAsPackage(String arg0, String arg1, int arg2, Notification arg3)
Parameters
arg0
Stringarg1
Stringarg2
intarg3
Notification
RemoveAutomaticZenRule(String)
public bool RemoveAutomaticZenRule(String arg0)
Parameters
Returns
SetAutomaticZenRuleState(String, Condition)
public void SetAutomaticZenRuleState(String arg0, Condition arg1)
Parameters
SetInterruptionFilter(int)
public void SetInterruptionFilter(int arg0)
Parameters
SetNotificationDelegate(String)
public void SetNotificationDelegate(String arg0)
Parameters
SetNotificationPolicy(Policy)
public void SetNotificationPolicy(NotificationManager.Policy arg0)
Parameters
ShouldHideSilentStatusBarIcons()
public bool ShouldHideSilentStatusBarIcons()
Returns
UpdateAutomaticZenRule(String, AutomaticZenRule)
public bool UpdateAutomaticZenRule(String arg0, AutomaticZenRule arg1)
Parameters
arg0
Stringarg1
AutomaticZenRule