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.
public class Notification
- Inheritance
-
Notification
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
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
View SourceAppControlFailed
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
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
View SourceAppControlOngoing
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
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
View SourceDescription
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
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
View SourceTitle
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
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
View SourceType
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 |
---|---|
ArgumentException | Thrown when it is failed due to an invalid parameter. |
InvalidOperationException | Thrown when it is failed due to an invalid operation. |
UnauthorizedAccessException | Thrown when a permission is denied. |
NotSupportedException | Thrown when feature is not supported. |