Table of Contents

Class NotificationManager

Namespace
Android.App
Assembly
MASES.Netdroid.dll
public class NotificationManager : JVMBridgeBase<NotificationManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<NotificationManager>
NotificationManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<NotificationManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<NotificationManager>.IsAssignableFrom<T>()
JVMBridgeBase<NotificationManager>.Execute<T>(params T[])
JVMBridgeBase<NotificationManager>.DynBridgeClazz
JVMBridgeBase<NotificationManager>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

String

ACTION_AUTOMATIC_ZEN_RULE

public static String ACTION_AUTOMATIC_ZEN_RULE { get; }

Property Value

String

ACTION_AUTOMATIC_ZEN_RULE_STATUS_CHANGED

public static String ACTION_AUTOMATIC_ZEN_RULE_STATUS_CHANGED { get; }

Property Value

String

ACTION_CONSOLIDATED_NOTIFICATION_POLICY_CHANGED

public static String ACTION_CONSOLIDATED_NOTIFICATION_POLICY_CHANGED { get; }

Property Value

String

ACTION_INTERRUPTION_FILTER_CHANGED

public static String ACTION_INTERRUPTION_FILTER_CHANGED { get; }

Property Value

String

ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED

public static String ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED { get; }

Property Value

String

ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED

public static String ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED { get; }

Property Value

String

ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED

public static String ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED { get; }

Property Value

String

ACTION_NOTIFICATION_POLICY_CHANGED

public static String ACTION_NOTIFICATION_POLICY_CHANGED { get; }

Property Value

String

AUTOMATIC_RULE_STATUS_ACTIVATED

public static int AUTOMATIC_RULE_STATUS_ACTIVATED { get; }

Property Value

int

AUTOMATIC_RULE_STATUS_DEACTIVATED

public static int AUTOMATIC_RULE_STATUS_DEACTIVATED { get; }

Property Value

int

AUTOMATIC_RULE_STATUS_DISABLED

public static int AUTOMATIC_RULE_STATUS_DISABLED { get; }

Property Value

int

AUTOMATIC_RULE_STATUS_ENABLED

public static int AUTOMATIC_RULE_STATUS_ENABLED { get; }

Property Value

int

AUTOMATIC_RULE_STATUS_REMOVED

public static int AUTOMATIC_RULE_STATUS_REMOVED { get; }

Property Value

int

AUTOMATIC_RULE_STATUS_UNKNOWN

public static int AUTOMATIC_RULE_STATUS_UNKNOWN { get; }

Property Value

int

BUBBLE_PREFERENCE_ALL

public static int BUBBLE_PREFERENCE_ALL { get; }

Property Value

int

BUBBLE_PREFERENCE_NONE

public static int BUBBLE_PREFERENCE_NONE { get; }

Property Value

int

BUBBLE_PREFERENCE_SELECTED

public static int BUBBLE_PREFERENCE_SELECTED { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EXTRA_AUTOMATIC_RULE_ID

public static String EXTRA_AUTOMATIC_RULE_ID { get; }

Property Value

String

EXTRA_AUTOMATIC_ZEN_RULE_ID

public static String EXTRA_AUTOMATIC_ZEN_RULE_ID { get; }

Property Value

String

EXTRA_AUTOMATIC_ZEN_RULE_STATUS

public static String EXTRA_AUTOMATIC_ZEN_RULE_STATUS { get; }

Property Value

String

EXTRA_BLOCKED_STATE

public static String EXTRA_BLOCKED_STATE { get; }

Property Value

String

EXTRA_NOTIFICATION_CHANNEL_GROUP_ID

public static String EXTRA_NOTIFICATION_CHANNEL_GROUP_ID { get; }

Property Value

String

EXTRA_NOTIFICATION_CHANNEL_ID

public static String EXTRA_NOTIFICATION_CHANNEL_ID { get; }

Property Value

String

EXTRA_NOTIFICATION_POLICY

public static String EXTRA_NOTIFICATION_POLICY { get; }

Property Value

String

IMPORTANCE_DEFAULT

public static int IMPORTANCE_DEFAULT { get; }

Property Value

int

IMPORTANCE_HIGH

public static int IMPORTANCE_HIGH { get; }

Property Value

int

IMPORTANCE_LOW

public static int IMPORTANCE_LOW { get; }

Property Value

int

IMPORTANCE_MAX

public static int IMPORTANCE_MAX { get; }

Property Value

int

IMPORTANCE_MIN

public static int IMPORTANCE_MIN { get; }

Property Value

int

IMPORTANCE_NONE

public static int IMPORTANCE_NONE { get; }

Property Value

int

IMPORTANCE_UNSPECIFIED

public static int IMPORTANCE_UNSPECIFIED { get; }

Property Value

int

INTERRUPTION_FILTER_ALARMS

public static int INTERRUPTION_FILTER_ALARMS { get; }

Property Value

int

INTERRUPTION_FILTER_ALL

public static int INTERRUPTION_FILTER_ALL { get; }

Property Value

int

INTERRUPTION_FILTER_NONE

public static int INTERRUPTION_FILTER_NONE { get; }

Property Value

int

INTERRUPTION_FILTER_PRIORITY

public static int INTERRUPTION_FILTER_PRIORITY { get; }

Property Value

int

INTERRUPTION_FILTER_UNKNOWN

public static int INTERRUPTION_FILTER_UNKNOWN { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

META_DATA_AUTOMATIC_RULE_TYPE

public static String META_DATA_AUTOMATIC_RULE_TYPE { get; }

Property Value

String

META_DATA_RULE_INSTANCE_LIMIT

public static String META_DATA_RULE_INSTANCE_LIMIT { get; }

Property Value

String

Methods

AddAutomaticZenRule(AutomaticZenRule)

public String AddAutomaticZenRule(AutomaticZenRule arg0)

Parameters

arg0 AutomaticZenRule

AutomaticZenRule

Returns

String

String

AreAutomaticZenRulesUserManaged()

public bool AreAutomaticZenRulesUserManaged()

Returns

bool

bool

AreBubblesAllowed()

[Obsolete]
public bool AreBubblesAllowed()

Returns

bool

bool

AreBubblesEnabled()

public bool AreBubblesEnabled()

Returns

bool

bool

AreNotificationsEnabled()

public bool AreNotificationsEnabled()

Returns

bool

bool

AreNotificationsPaused()

public bool AreNotificationsPaused()

Returns

bool

bool

CanNotifyAsPackage(String)

public bool CanNotifyAsPackage(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

CanUseFullScreenIntent()

public bool CanUseFullScreenIntent()

Returns

bool

bool

Cancel(String, int)

public void Cancel(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Cancel(int)

public void Cancel(int arg0)

Parameters

arg0 int

int

CancelAll()

public void CancelAll()

CancelAsPackage(String, String, int)

public void CancelAsPackage(String arg0, String arg1, int arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 int

int

CreateNotificationChannel(NotificationChannel)

public void CreateNotificationChannel(NotificationChannel arg0)

Parameters

arg0 NotificationChannel

NotificationChannel

CreateNotificationChannelGroup(NotificationChannelGroup)

public void CreateNotificationChannelGroup(NotificationChannelGroup arg0)

Parameters

arg0 NotificationChannelGroup

NotificationChannelGroup

CreateNotificationChannelGroups(List<NotificationChannelGroup>)

public void CreateNotificationChannelGroups(List<NotificationChannelGroup> arg0)

Parameters

arg0 List<NotificationChannelGroup>

List

CreateNotificationChannels(List<NotificationChannel>)

public void CreateNotificationChannels(List<NotificationChannel> arg0)

Parameters

arg0 List<NotificationChannel>

List

DeleteNotificationChannel(String)

public void DeleteNotificationChannel(String arg0)

Parameters

arg0 String

String

DeleteNotificationChannelGroup(String)

public void DeleteNotificationChannelGroup(String arg0)

Parameters

arg0 String

String

GetActiveNotifications()

public StatusBarNotification[] GetActiveNotifications()

Returns

StatusBarNotification[]

StatusBarNotification

GetAutomaticZenRule(String)

public AutomaticZenRule GetAutomaticZenRule(String arg0)

Parameters

arg0 String

String

Returns

AutomaticZenRule

AutomaticZenRule

GetAutomaticZenRuleState(String)

public int GetAutomaticZenRuleState(String arg0)

Parameters

arg0 String

String

Returns

int

int

GetAutomaticZenRules()

public Map<String, AutomaticZenRule> GetAutomaticZenRules()

Returns

Map<String, AutomaticZenRule>

Map

GetBubblePreference()

public int GetBubblePreference()

Returns

int

int

GetConsolidatedNotificationPolicy()

public NotificationManager.Policy GetConsolidatedNotificationPolicy()

Returns

NotificationManager.Policy

NotificationManager.Policy

GetCurrentInterruptionFilter()

public int GetCurrentInterruptionFilter()

Returns

int

int

GetImportance()

public int GetImportance()

Returns

int

int

GetNotificationChannel(String)

public NotificationChannel GetNotificationChannel(String arg0)

Parameters

arg0 String

String

Returns

NotificationChannel

NotificationChannel

GetNotificationChannel(String, String)

public NotificationChannel GetNotificationChannel(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

NotificationChannel

NotificationChannel

GetNotificationChannelGroup(String)

public NotificationChannelGroup GetNotificationChannelGroup(String arg0)

Parameters

arg0 String

String

Returns

NotificationChannelGroup

NotificationChannelGroup

GetNotificationChannelGroups()

public List<NotificationChannelGroup> GetNotificationChannelGroups()

Returns

List<NotificationChannelGroup>

List

GetNotificationChannels()

public List<NotificationChannel> GetNotificationChannels()

Returns

List<NotificationChannel>

List

GetNotificationDelegate()

public String GetNotificationDelegate()

Returns

String

String

GetNotificationPolicy()

public NotificationManager.Policy GetNotificationPolicy()

Returns

NotificationManager.Policy

NotificationManager.Policy

IsNotificationListenerAccessGranted(ComponentName)

public bool IsNotificationListenerAccessGranted(ComponentName arg0)

Parameters

arg0 ComponentName

ComponentName

Returns

bool

bool

IsNotificationPolicyAccessGranted()

public bool IsNotificationPolicyAccessGranted()

Returns

bool

bool

MatchesCallFilter(Uri)

public bool MatchesCallFilter(Uri arg0)

Parameters

arg0 Uri

Uri

Returns

bool

bool

Notify(String, int, Notification)

public void Notify(String arg0, int arg1, Notification arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 Notification

Notification

Notify(int, Notification)

public void Notify(int arg0, Notification arg1)

Parameters

arg0 int

int

arg1 Notification

Notification

NotifyAsPackage(String, String, int, Notification)

public void NotifyAsPackage(String arg0, String arg1, int arg2, Notification arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 int

int

arg3 Notification

Notification

RemoveAutomaticZenRule(String)

public bool RemoveAutomaticZenRule(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

SetAutomaticZenRuleState(String, Condition)

public void SetAutomaticZenRuleState(String arg0, Condition arg1)

Parameters

arg0 String

String

arg1 Condition

Condition

SetInterruptionFilter(int)

public void SetInterruptionFilter(int arg0)

Parameters

arg0 int

int

SetNotificationDelegate(String)

public void SetNotificationDelegate(String arg0)

Parameters

arg0 String

String

SetNotificationPolicy(Policy)

public void SetNotificationPolicy(NotificationManager.Policy arg0)

Parameters

arg0 NotificationManager.Policy

NotificationManager.Policy

ShouldHideSilentStatusBarIcons()

public bool ShouldHideSilentStatusBarIcons()

Returns

bool

bool

UpdateAutomaticZenRule(String, AutomaticZenRule)

public bool UpdateAutomaticZenRule(String arg0, AutomaticZenRule arg1)

Parameters

arg0 String

String

arg1 AutomaticZenRule

AutomaticZenRule

Returns

bool

bool