Class Notification
Definition
- Namespace:
- Tizen.Content.Download
- Assembly:
- Tizen.Content.Download.dll
- API Level:
- 3
The Notification class consists of all the properties required to set notifications for the download operation.
C#Copypublic class Notification
- Inheritance
-
Notification
Properties
AppControlCompleted
AppControl for a completed download notification. If a user tries to get before the setting, null is returned.
Declaration
C#Copypublic 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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
AppControlFailed
AppControl for a failed download notification. If a user tries to get before the setting, null is returned.
Declaration
C#Copypublic 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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
AppControlOngoing
AppControl for an ongoing download notification. If a user tries to get before the setting, null is returned.
Declaration
C#Copypublic 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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
Description
Description of the notification. If a user tries to get before the setting, an empty string is returned.
Declaration
C#Copypublic string Description { get; set; }
Property Value
Type | Description |
---|---|
System.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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
Title
Title of the notification. If a user tries to get before the setting, an empty string is returned.
Declaration
C#Copypublic string Title { get; set; }
Property Value
Type | Description |
---|---|
System.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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/download
Feature: http://tizen.org/feature/download
Type
Type of the notification. If a user tries to get before the setting, the default NotificationType none is returned.
Declaration
C#Copypublic 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. |
UnauthorizedAccessException | Thrown when a permission is denied. |
System.NotSupportedException | Thrown when feature is not supported. |