Class NotificationListenerManager

    Definition

    Namespace:
    Tizen.Applications.NotificationEventListener
    Assembly:
    Tizen.Applications.NotificationEventListener.dll

    This class provides a way to register callback function for some notification events.

    public class NotificationListenerManager
    Inheritance
    object
    NotificationListenerManager
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    Methods

    View Source

    Delete(string, int)

    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.

    int uniqueNumber

    The unique number of the notification.

    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    DeleteAll()

    Deletes all notifications.

    Declaration
    public static void DeleteAll()
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    GetAllCount()

    Gets the number of all notifications

    Declaration
    public static int GetAllCount()
    Returns
    Type Description
    int

    The number of all notifications

    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    GetList()

    Returns the notification list.

    Declaration
    public static IList<NotificationEventArgs> GetList()
    Returns
    Type Description
    IList<><NotificationEventArgs>
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    GetNotificationEventArgs(int)

    Returns NotificationEventArgs by UniqueNumber.

    Declaration
    public static NotificationEventArgs GetNotificationEventArgs(int uniqueNumber)
    Parameters
    Type Name Description
    int uniqueNumber

    The unique number of the Notification.

    Returns
    Type Description
    NotificationEventArgs
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    SendEvent(int, UserEventType)

    Sends occured event from viewer application to the notification owner.

    Declaration
    public static void SendEvent(int uniqueNumber, UserEventType type)
    Parameters
    Type Name Description
    int uniqueNumber

    The unique number of the notification.

    UserEventType type

    Event type on notification.

    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    SendEventWithNotification(NotificationEventArgs, UserEventType)

    Declaration
    public static void SendEventWithNotification(NotificationEventArgs eventargs, UserEventType type)
    Parameters
    Type Name Description
    NotificationEventArgs eventargs
    UserEventType type
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    SetChecked(NotificationEventArgs, bool)

    Declaration
    public static void SetChecked(NotificationEventArgs eventargs, bool checkedValue)
    Parameters
    Type Name Description
    NotificationEventArgs eventargs
    bool checkedValue
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    Events

    View Source

    Added

    Event handler for notification insert event.

    Declaration
    public static event EventHandler<NotificationEventArgs> Added
    Event Type
    Type Description
    EventHandler<><NotificationEventArgs>
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    Deleted

    Event handler for notification delete event.

    Declaration
    public static event EventHandler<NotificationDeleteEventArgs> Deleted
    Event Type
    Type Description
    EventHandler<><NotificationDeleteEventArgs>
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    View Source

    Updated

    Event handler for notification update event.

    Declaration
    public static event EventHandler<NotificationEventArgs> Updated
    Event Type
    Type Description
    EventHandler<><NotificationEventArgs>
    Remarks

    The event listener can use this class to get a list of notifications or to clear notifications.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX