Definition
- Namespace:
- Tizen.Applications.NotificationEventListener
- Assembly:
- Tizen.Applications.NotificationEventListener.dll
- API Level:
- 4
This class provides a way to register callback function for some notification events.
public class NotificationListenerManager : object
- Inheritance
-
NotificationListenerManager
Methods
View Source
Delete(String, Int32)
Deletes a notification with appId and uniqueNumber.
Declaration
public static void Delete(string appId, int uniqueNumber)
Parameters
Type |
Name |
Description |
String |
appId |
The name of the application you want to delete.
|
Int32 |
uniqueNumber |
The unique number of the notification.
|
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Declaration
public static void DeleteAll()
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
GetAllCount()
Gets the number of all notifications
Declaration
public static int GetAllCount()
Returns
Type |
Description |
Int32 |
The number of all notifications
|
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Declaration
public static IList<NotificationEventArgs> GetList()
Returns
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
GetNotificationEventArgs(Int32)
Returns NotificationEventArgs by UniqueNumber.
Declaration
public static NotificationEventArgs GetNotificationEventArgs(int uniqueNumber)
Parameters
Type |
Name |
Description |
Int32 |
uniqueNumber |
The unique number of the Notification.
|
Returns
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
SendEvent(Int32, UserEventType)
Sends occured event from viewer application to the notification owner.
Declaration
public static void SendEvent(int uniqueNumber, UserEventType type)
Parameters
Type |
Name |
Description |
Int32 |
uniqueNumber |
The unique number of the notification.
|
UserEventType |
type |
Event type on notification.
|
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
SendEventWithNotification(NotificationEventArgs, UserEventType)
Declaration
public static void SendEventWithNotification(NotificationEventArgs eventargs, UserEventType type)
Parameters
Declaration
public static void SetChecked(NotificationEventArgs eventargs, bool checkedValue)
Parameters
Events
View Source
Added
Event handler for notification insert event.
Declaration
public static event EventHandler<NotificationEventArgs> Added
Event Type
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
Deleted
Event handler for notification delete event.
Declaration
public static event EventHandler<NotificationDeleteEventArgs> Deleted
Event Type
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
View Source
Updated
Event handler for notification update event.
Declaration
public static event EventHandler<NotificationEventArgs> Updated
Event Type
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Extension Methods