Class Notification
Definition
- Assembly:
- Tizen.Content.Download.dll
The Notification class consists of all the properties required to set notifications for the download operation.
public class Notification
- Inheritance
-
objectNotification
Properties
View SourceAppControlCompleted
AppControl for a completed download notification. If a user tries to get before the setting, null is returned.
Declaration
public AppControl AppControlCompleted { get; set; }
Property Value
Type | Description |
---|---|
AppControl |
Remarks
When the notification message is clicked, the action is decided by the application control.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
AppControlFailed
AppControl for a failed download notification. If a user tries to get before the setting, null is returned.
Declaration
public AppControl AppControlFailed { get; set; }
Property Value
Type | Description |
---|---|
AppControl |
Remarks
When the notification message is clicked, the action is decided by the application control.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
AppControlOngoing
AppControl for an ongoing download notification. If a user tries to get before the setting, null is returned.
Declaration
public AppControl AppControlOngoing { get; set; }
Property Value
Type | Description |
---|---|
AppControl |
Remarks
When the notification message is clicked, the action is decided by the application control.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
Description
Description of the notification. If a user tries to get before the setting, an empty string is returned.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
Title
Title of the notification. If a user tries to get before the setting, an empty string is returned.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
Type
Type of the notification. If a user tries to get before the setting, the default NotificationType none is returned.
Declaration
public NotificationType Type { get; set; }
Property Value
Type | Description |
---|---|
NotificationType |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when it is failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when it is failed due to an invalid operation. |
System.UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |