Class NotificationEventArgs

    Definition

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

    This class provides the methods and properties to get information about the posted or updated notification.

    public class NotificationEventArgs : EventArgs
    Inheritance
    object
    System.EventArgs
    NotificationEventArgs

    Constructors

    View Source

    NotificationEventArgs()

    Initializes a new instance of the NotificationEventArgs class.

    Declaration
    public NotificationEventArgs()

    Properties

    View Source

    Accessory

    Gets the AccessoryArgs, which has option of sound, vibration, and LED.

    Declaration
    public NotificationEventArgs.AccessoryArgs Accessory { get; }
    Property Value
    Type Description
    NotificationEventArgs.AccessoryArgs
    View Source

    Action

    Gets the AppControl, which is invoked when notification is clicked.

    Declaration
    public AppControl Action { get; }
    Property Value
    Type Description
    AppControl
    View Source

    AppID

    Gets the appId of the notification.

    Declaration
    public string AppID { get; }
    Property Value
    Type Description
    string
    View Source

    Content

    Gets the content text of the notification.

    Declaration
    public string Content { get; }
    Property Value
    Type Description
    string
    View Source

    Count

    Gets the count, which is displayed at the right side of notification.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    View Source

    ExtraDataKey

    Gets the key for extra data.

    Declaration
    public ICollection<string> ExtraDataKey { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<T><string>
    View Source

    Icon

    Gets the icon's path of the notification.

    Declaration
    public string Icon { get; }
    Property Value
    Type Description
    string
    View Source

    IsTimeStampVisible

    Gets the timestamp if the notification is visible or not.

    Declaration
    public bool IsTimeStampVisible { get; }
    Property Value
    Type Description
    bool
    View Source

    IsVisible

    Gets a value that determines whether notification is displayed on the default viewer. If IsDisplay property is set as false and add style, you can see only style notification.

    Declaration
    public bool IsVisible { get; }
    Property Value
    Type Description
    bool
    View Source

    Progress

    Gets the object of the progress notification.

    Declaration
    public NotificationEventArgs.ProgressArgs Progress { get; }
    Property Value
    Type Description
    NotificationEventArgs.ProgressArgs
    View Source

    Property

    Gets the property.

    Declaration
    public NotificationProperty Property { get; }
    Property Value
    Type Description
    NotificationProperty
    View Source

    SubIcon

    Gets the sub icon path of the notification.

    Declaration
    public string SubIcon { get; }
    Property Value
    Type Description
    string
    View Source

    Tag

    Gets the tag of notification.

    Declaration
    public string Tag { get; }
    Property Value
    Type Description
    string
    View Source

    TimeStamp

    Gets TimeStamp of notification.

    Declaration
    public DateTime TimeStamp { get; }
    Property Value
    Type Description
    System.DateTime
    Remarks

    If IsTimeStampVisible property is set false, this TimeStamp property is meaningless.

    View Source

    Title

    Gets the title of the notification.

    Declaration
    public string Title { get; }
    Property Value
    Type Description
    string
    View Source

    UniqueNumber

    Gets the unique ID of the notification.

    Declaration
    public int UniqueNumber { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    GetExtraData(string)

    Gets the ExtraDataArgs.

    Declaration
    public Bundle GetExtraData(string key)
    Parameters
    Type Name Description
    string key

    The key that specifies which extra data.

    Returns
    Type Description
    Bundle

    Returns the bundle for key.

    View Source

    GetStyle<T>()

    Gets the styleArgs of active, lock, indicator, and bigpicture.

    Declaration
    public T GetStyle<T>() where T : NotificationEventArgs.StyleArgs, new()
    Returns
    Type Description
    T

    The NotificationEventListener.StyleArgs object associated with the given style.

    Type Parameters
    Name Description
    T

    Type of notification style to be queried.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when an argument is invalid.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX