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#
Copy
public class Notification
Inheritance
Notification

Properties

View Source

AppControlCompleted

AppControl for a completed download notification. If a user tries to get before the setting, null is returned.

Declaration
C#
Copy
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.

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
View Source

AppControlFailed

AppControl for a failed download notification. If a user tries to get before the setting, null is returned.

Declaration
C#
Copy
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.

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
View Source

AppControlOngoing

AppControl for an ongoing download notification. If a user tries to get before the setting, null is returned.

Declaration
C#
Copy
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.

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
View Source

Description

Description of the notification. If a user tries to get before the setting, an empty string is returned.

Declaration
C#
Copy
public 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
View Source

Title

Title of the notification. If a user tries to get before the setting, an empty string is returned.

Declaration
C#
Copy
public 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
View Source

Type

Type of the notification. If a user tries to get before the setting, the default NotificationType none is returned.

Declaration
C#
Copy
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.

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