Definition
- Namespace:
- Tizen.Applications.NotificationEventListener
- Assembly:
- Tizen.Applications.NotificationEventListener.dll
- API Level:
- 4
This class provides the methods and properties to get information about the posted or updated notification.
public class NotificationEventArgs : EventArgs
- Inheritance
-
System.Object
NotificationEventArgs
Constructors
Declaration
public NotificationEventArgs()
API Level: 4
Properties
View Source
Accessory
Gets the AccessoryArgs, which has option of sound, vibration, and LED.
Declaration
public NotificationEventArgs.AccessoryArgs Accessory { get; }
Property Value
API Level: 4
View Source
Action
Gets the AppControl, which is invoked when notification is clicked.
Declaration
public AppControl Action { get; }
Property Value
API Level: 4
Declaration
public string AppID { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
View Source
Content
Gets the content text of the notification.
Declaration
public string Content { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
View Source
Count
Gets the count, which is displayed at the right side of notification.
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: 4
Declaration
public ICollection<string> ExtraDataKey { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.String> |
|
API Level: 4
View Source
Icon
Gets the icon's path of the notification.
Declaration
public string Icon { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
View Source
IsTimeStampVisible
Gets the timestamp if the notification is visible or not.
Declaration
public bool IsTimeStampVisible { get; }
Property Value
Type |
Description |
System.Boolean |
|
API Level: 4
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 |
System.Boolean |
|
API Level: 4
View Source
Progress
Gets the object of the progress notification.
Declaration
public NotificationEventArgs.ProgressArgs Progress { get; }
Property Value
API Level: 4
Declaration
public NotificationProperty Property { get; }
Property Value
API Level: 4
View Source
SubIcon
Gets the sub icon path of the notification.
Declaration
public string SubIcon { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
Declaration
public string Tag { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
Declaration
public DateTime TimeStamp { get; }
Property Value
Type |
Description |
System.DateTime |
|
API Level: 4
Declaration
public string Title { get; }
Property Value
Type |
Description |
System.String |
|
API Level: 4
View Source
UniqueNumber
Gets the unique ID of the notification.
Declaration
public int UniqueNumber { get; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: 4
Methods
Declaration
public Bundle GetExtraData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
The key that specifies which extra data.
|
Returns
Type |
Description |
Bundle |
Returns the bundle for key.
|
API Level: 4
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.
|
API Level: 4