From e70c0217754c2b1d82c516e60894481979eb1978 Mon Sep 17 00:00:00 2001 From: "chleun.moon" Date: Wed, 23 Aug 2017 18:48:54 +0900 Subject: [PATCH] [Download] Review download API cs files Review download API cs files Change-Id: I44bd8becdacee9fe7ab0e726c8c2177bf256467b --- .../Tizen.Content.Download/DownloadEnumerator.cs | 36 ++-- .../Tizen.Content.Download/Notification.cs | 46 ++--- .../ProgressChangedEventArgs.cs | 2 +- .../Tizen.Content.Download/Request.cs | 188 ++++++++++----------- .../StateChangedEventArgs.cs | 2 +- 5 files changed, 137 insertions(+), 137 deletions(-) diff --git a/src/Tizen.Content.Download/Tizen.Content.Download/DownloadEnumerator.cs b/src/Tizen.Content.Download/Tizen.Content.Download/DownloadEnumerator.cs index facfde5..40f8839 100755 --- a/src/Tizen.Content.Download/Tizen.Content.Download/DownloadEnumerator.cs +++ b/src/Tizen.Content.Download/Tizen.Content.Download/DownloadEnumerator.cs @@ -17,99 +17,99 @@ namespace Tizen.Content.Download { /// - /// Enumeration for download state. + /// Enumeration for the download states. /// /// 3 public enum DownloadState { /// - /// Unhandled exception + /// Unhandled exception. /// /// 3 None = 0, /// - /// Ready to download + /// Ready to download. /// /// 3 Ready, /// - /// Queued to start downloading + /// Queued to start downloading. /// /// 3 Queued, /// - /// Currently downloading + /// Currently downloading. /// /// 3 Downloading, /// - /// Download is paused and can be resumed + /// The download is paused and can be resumed. /// /// 3 Paused, /// - /// The download is completed + /// The download is completed. /// /// 3 Completed, /// - /// The download failed + /// The download failed. /// /// 3 Failed, /// - /// User canceled the download request + /// A user canceled the download request. /// /// 3 Canceled } /// - /// Enumeration for network type. + /// Enumeration for the network types. /// /// 3 public enum NetworkType { /// - /// Download is available through data network + /// The download is available through data network. /// /// 3 DataNetwork = 0, /// - /// Download is available through WiFi + /// The download is available through Wi-Fi. /// /// 3 Wifi, /// - /// Download is available through WiFi-Direct + /// The download is available through Wi-Fi Direct. /// /// 3 WifiDirect, /// - /// Download is available through either data network or WiFi + /// The download is available either through data network or Wi-Fi. /// /// 3 All } /// - /// Enumeration for notification type. + /// Enumeration for the notification types. /// /// 3 public enum NotificationType { /// - /// Do not register notification + /// Do not register notification. /// /// 3 None = 0, /// - /// Completion notification for success state and failed state + /// Completion notification for success state and failed state. /// /// 3 CompleteOnly, /// - /// All download notifications for ongoing state, success state and failed state + /// All download notifications for ongoing state, success state, and failed state. /// /// 3 All diff --git a/src/Tizen.Content.Download/Tizen.Content.Download/Notification.cs b/src/Tizen.Content.Download/Tizen.Content.Download/Notification.cs index de162a6..b6fc854 100755 --- a/src/Tizen.Content.Download/Tizen.Content.Download/Notification.cs +++ b/src/Tizen.Content.Download/Tizen.Content.Download/Notification.cs @@ -20,7 +20,7 @@ using Tizen.Applications; namespace Tizen.Content.Download { /// - /// The Notification class consists of all the properties required to set notifications for download operation. + /// The Notification class consists of all the properties required to set notifications for the download operation. /// /// 3 public class Notification @@ -34,13 +34,13 @@ namespace Tizen.Content.Download /// /// Title of the notification. - /// If user tries to get before setting, empty string is returned. + /// If a user tries to get before the setting, an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string Title { get @@ -66,13 +66,13 @@ namespace Tizen.Content.Download /// /// Description of the notification. - /// If user tries to get before setting, empty string is returned. + /// If a user tries to get before the setting, an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string Description { get @@ -97,14 +97,14 @@ namespace Tizen.Content.Download } /// - /// Type of Notification. - /// If user tries to get before setting, default NotificationType None is returned. + /// Type of the notification. + /// If a user tries to get before the setting, the default NotificationType none is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public NotificationType Type { get @@ -130,16 +130,16 @@ namespace Tizen.Content.Download /// /// AppControl for an ongoing download notification. - /// If user tries to get before setting, null is returned. + /// If a user tries to get before the setting, null is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// When the notification message is clicked, the action is decided by the app control. + /// When the notification message is clicked, the action is decided by the application control. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public AppControl AppControlOngoing { get @@ -165,16 +165,16 @@ namespace Tizen.Content.Download /// /// AppControl for a completed download notification. - /// If user tries to get before setting, null is returned. + /// If a user tries to get before the setting, null is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// When the notification message is clicked, the action is decided by the app control + /// When the notification message is clicked, the action is decided by the application control. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public AppControl AppControlCompleted { get @@ -200,16 +200,16 @@ namespace Tizen.Content.Download /// /// AppControl for a failed download notification. - /// If user tries to get before setting, null is returned. + /// If a user tries to get before the setting, null is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// When the notification message is clicked, the action is decided by the app control + /// When the notification message is clicked, the action is decided by the application control. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public AppControl AppControlFailed { get diff --git a/src/Tizen.Content.Download/Tizen.Content.Download/ProgressChangedEventArgs.cs b/src/Tizen.Content.Download/Tizen.Content.Download/ProgressChangedEventArgs.cs index 3e5d169..3a20222 100755 --- a/src/Tizen.Content.Download/Tizen.Content.Download/ProgressChangedEventArgs.cs +++ b/src/Tizen.Content.Download/Tizen.Content.Download/ProgressChangedEventArgs.cs @@ -32,7 +32,7 @@ namespace Tizen.Content.Download } /// - /// Received data size in bytes. + /// The received data size in bytes. /// /// 3 public ulong ReceivedDataSize diff --git a/src/Tizen.Content.Download/Tizen.Content.Download/Request.cs b/src/Tizen.Content.Download/Tizen.Content.Download/Request.cs index 20e2048..11c96a2 100755 --- a/src/Tizen.Content.Download/Tizen.Content.Download/Request.cs +++ b/src/Tizen.Content.Download/Tizen.Content.Download/Request.cs @@ -21,7 +21,7 @@ using System.Runtime.InteropServices; namespace Tizen.Content.Download { /// - /// The Request class provides functions to create and manage a single download request. + /// The Request class provides the functions to create and manage a single download request. /// /// 3 public class Request : IDisposable @@ -39,11 +39,11 @@ namespace Tizen.Content.Download /// Creates a Request object. /// /// 3 - /// URL to download + /// The URL to download. /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public Request(string url) { if (String.IsNullOrEmpty(url)) @@ -68,18 +68,18 @@ namespace Tizen.Content.Download /// Creates a Request object. /// /// 3 - /// URL to download - /// Directory path where downloaded file is stored - /// Name of the downloaded file - /// Network type which the download request must adhere to + /// The URL to download + /// The directory path where downloaded file is stored. + /// The name of the downloaded file. + /// The network type which the download request must adhere to. /// http://tizen.org/privilege/download /// http://tizen.org/feature/network.wifi /// http://tizen.org/feature/network.wifi.direct /// http://tizen.org/feature/network.telephony /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. - /// Thrown when feature is not supported. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. + /// Thrown when a feature is not supported. public Request(string url, string destinationPath, string fileName, NetworkType type) { if (String.IsNullOrEmpty(url)) @@ -124,19 +124,19 @@ namespace Tizen.Content.Download /// Creates a Request object. /// /// 3 - /// URL to download - /// Directory path where downloaded file is stored - /// Name of the downloaded file - /// Network type which the download request must adhere to - /// HTTP header fields for download request + /// The URL to download. + /// The directory path where the downloaded file is stored. + /// The name of the downloaded file. + /// The network type which the download request must adhere to. + /// HTTP header fields for the download request. /// http://tizen.org/privilege/download /// http://tizen.org/feature/network.wifi /// http://tizen.org/feature/network.wifi.direct /// http://tizen.org/feature/network.telephony /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. - /// Thrown when features is not supported. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. + /// Thrown when a feature is not supported. public Request(string url, string destinationPath, string fileName, NetworkType type, IDictionary httpHeaders) { if (String.IsNullOrEmpty(url)) @@ -183,13 +183,13 @@ namespace Tizen.Content.Download } /// - /// Event that occurs when the download state changes. + /// An event that occurs when the download state changes. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public event EventHandler StateChanged { add @@ -211,13 +211,13 @@ namespace Tizen.Content.Download } /// - /// Event that occurs when the download progress changes. + /// An event that occurs when the download progress changes. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public event EventHandler ProgressChanged { add @@ -239,17 +239,17 @@ namespace Tizen.Content.Download } /// - /// Absolute path where the file will be downloaded. + /// The absolute path where the file will be downloaded. /// If you try to get this property value before calling Start(), an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// Returns empty string if download is not completed or if state has not yet changed to Completed or if any other error occurs. + /// Returns an empty string if the download is not completed or if a state has not yet changed to completed or if any other error occurs. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string DownloadedPath { get @@ -266,14 +266,14 @@ namespace Tizen.Content.Download } /// - /// MIME type of the downloaded content. + /// The MIME type of the downloaded content. /// If you try to get this property value before calling Start(), an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string MimeType { get @@ -290,13 +290,13 @@ namespace Tizen.Content.Download } /// - /// Current state of the download. + /// The current state of the download. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public DownloadState State { get @@ -314,14 +314,14 @@ namespace Tizen.Content.Download /// /// The content name of the downloaded file. - /// This can be defined with reference of HTTP response header data. The content name can be received when HTTP response header is received. + /// This can be defined with reference of the HTTP response header data. The content name can be received when the HTTP response header is received. /// If you try to get this property value before calling Start(), an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string ContentName { get @@ -338,15 +338,15 @@ namespace Tizen.Content.Download } /// - /// Total size of downloaded content. + /// The total size of the downloaded content. /// This information is received from the server. If the server does not send the total size of the content, the content size is set to zero. /// If you try to get this property value before calling Start(), 0 is returned. /// /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public ulong ContentSize { get @@ -363,17 +363,17 @@ namespace Tizen.Content.Download } /// - /// HTTP status code when a download exception occurs. + /// The HTTP status code when a download exception occurs. /// If you try to get this property value before calling Start(), 0 is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// State of download request must be DownlodState.Failed. + /// The state of the download request must be DownlodState.Failed. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public int HttpStatus { get @@ -390,18 +390,18 @@ namespace Tizen.Content.Download } /// - /// ETag value from the HTTP response header when making a HTTP request for resume. + /// The ETag value from the HTTP response header when making a HTTP request for resume. /// If you try to get this property value before calling Start() or if any other error occurs, an empty string is returned. /// /// 3 /// http://tizen.org/privilege/download /// - /// The etag value is available or not depending on the web server. If not available, then on get of the property null is returned. - /// After download is started, it can get the etag value. + /// The ETag value is either available or not dependent on the web server. If not available, then, on getting the property, a null value is returned. + /// After the download is started, it can get the ETag value. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation + /// Thrown when a permission is denied. public string ETagValue { get @@ -422,10 +422,10 @@ namespace Tizen.Content.Download /// /// 3 /// - /// When the notification message is clicked, the action taken by the system is decided by the app control properties of the NotificationProperties instance. + /// When the notification message is clicked, the action taken by the system is decided by the application control properties of the NotificationProperties instance. /// If the app control is not set, the following default operation is executed when the notification message is clicked: - /// 1) download completed state - the viewer application is executed according to extension name of downloaded content, - /// 2) download failed state and ongoing state - the client application is executed. + /// 1) The download completed state - the viewer application is executed according to the extension name of the downloaded content. + /// 2) The download failed state and ongoing state - the client application is executed. /// This property should be set before calling Start(). /// public Notification NotificationProperties @@ -437,16 +437,16 @@ namespace Tizen.Content.Download } /// - /// Full path of the temporary file which stores downloaded content. + /// The full path of the temporary file stores the downloaded content. /// /// 3 /// http://tizen.org/privilege/download /// - /// The download state must be one of the states after Downloading. + /// The download state must be one of the states after downloading. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string TemporaryPath { get @@ -463,7 +463,7 @@ namespace Tizen.Content.Download } /// - /// URL to download. + /// The URL to download. /// /// 3 /// http://tizen.org/privilege/download @@ -472,8 +472,8 @@ namespace Tizen.Content.Download /// If you try to get this property value before setting or if any other error occurs, an empty string is returned. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string Url { get @@ -498,9 +498,9 @@ namespace Tizen.Content.Download } /// - /// Allowed network type for downloading the file. + /// The allowed network type for downloading the file. /// The file will be downloaded only under the allowed network. - /// If you try to get this property value before setting or if any other error occurs, default value NetworkType All is returned. + /// If you try to get this property value before setting or if any other error occurs, the default value NetworkType All is returned. /// /// 3 /// http://tizen.org/privilege/download @@ -511,8 +511,8 @@ namespace Tizen.Content.Download /// Should be set before calling Start(). /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. /// Thrown when feature is not supported. public NetworkType AllowedNetworkType { @@ -538,7 +538,7 @@ namespace Tizen.Content.Download } /// - /// The file will be downloaded to the set destination file path. The downloaded file is saved to an auto-generated file name in the destination. If the destination is not specified, the file will be downloaded to default storage. + /// The file will be downloaded to the set the destination file path. The downloaded file is saved to an auto-generated file name in the destination. If the destination is not specified, the file will be downloaded to the default storage. /// If you try to get this property value before setting or if any other error occurs, an empty string is returned. /// /// 3 @@ -547,8 +547,8 @@ namespace Tizen.Content.Download /// Should be set before calling Start(). /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string DestinationPath { get @@ -573,7 +573,7 @@ namespace Tizen.Content.Download } /// - /// The file will be saved in the specified destination or default storage with the set file name. If the file name is not specified, the downloaded file will be saved with an auto-generated file name in the destination. + /// The file will be saved in the specified destination or the default storage with the set file name. If the file name is not specified, the downloaded file will be saved with an auto-generated file name in the destination. /// If you try to get this property value before setting or if any other error occurs, an empty string is returned. /// /// 3 @@ -582,8 +582,8 @@ namespace Tizen.Content.Download /// Should be set before calling Start(). /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public string FileName { get @@ -610,7 +610,7 @@ namespace Tizen.Content.Download /// /// Enables or disables auto download. /// If this option is enabled, the previous downloading item is restarted automatically as soon as the download daemon is restarted. The download progress continues after the client process is terminated. - /// If you try to get this property value before setting, default value false is returned. + /// If you try to get this property value before setting, the default value false is returned. /// /// 3 /// http://tizen.org/privilege/download @@ -618,8 +618,8 @@ namespace Tizen.Content.Download /// The default value is false. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public bool AutoDownload { get @@ -644,8 +644,8 @@ namespace Tizen.Content.Download } /// - /// HTTP header field and value pairs to the download request. - /// HTTP header <field,value> pair is the <key,value> pair in the Dictionary HttpHeaders + /// The HTTP header field and value pairs to the download request. + /// The HTTP header <field,value> pair is the <key,value> pair in the dictionary HttpHeaders. /// The given HTTP header field will be included with the HTTP request of the download request. /// If you try to get this property value before setting, an empty dictionary is returned. /// @@ -664,17 +664,17 @@ namespace Tizen.Content.Download /// /// Sets the directory path of a temporary file used in a previous download request. - /// This is only useful when resuming download to make HTTP request header at the client side. Otherwise, the path is ignored. + /// This is only useful when resuming download to make the HTTP request header at the client side. Otherwise, the path is ignored. /// /// 3 /// http://tizen.org/privilege/download /// - /// If the etag value is not present in the download database, it is not useful to set the temporary file path. + /// If the ETag value is not present in the download database, it is not useful to set the temporary file path. /// When resuming the download request, the data is attached at the end of this temporary file. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public void SetTemporaryFilePath(string path) { int ret = Interop.Download.SetTempFilePath(_downloadId, path); @@ -685,7 +685,7 @@ namespace Tizen.Content.Download } /// - /// Starts or resumes download. + /// Starts or resumes the download. /// Starts to download the current URL, or resumes the download if paused. /// /// 3 @@ -694,8 +694,8 @@ namespace Tizen.Content.Download /// The URL is the mandatory information to start the download. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public void Start() { int ret = (int)DownloadError.None; @@ -716,7 +716,7 @@ namespace Tizen.Content.Download } /// - /// Pauses download request. + /// Pauses the download request. /// /// 3 /// http://tizen.org/privilege/download @@ -724,8 +724,8 @@ namespace Tizen.Content.Download /// The paused download request can be restarted with Start() or canceled with Cancel(). /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public void Pause() { int ret = Interop.Download.PauseDownload(_downloadId); @@ -736,7 +736,7 @@ namespace Tizen.Content.Download } /// - /// Cancels download request. + /// Cancels the download request. /// /// 3 /// http://tizen.org/privilege/download @@ -744,8 +744,8 @@ namespace Tizen.Content.Download /// The canceled download can be restarted with Start(). /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public void Cancel() { int ret = Interop.Download.CancelDownload(_downloadId); @@ -756,16 +756,16 @@ namespace Tizen.Content.Download } /// - /// Releases all resources used by the Request class. + /// Releases all the resources used by the Request class. /// /// 3 /// http://tizen.org/privilege/download /// - /// After calling this method, download request related data exists in the download database for a certain period of time. Within that time, it is possible to use other APIs with this data. + /// After calling this method, the download request related data exists in the download database for a certain period of time. Within that time, it is possible to use other APIs with this data. /// /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. public void Dispose() { Dispose(true); @@ -778,8 +778,8 @@ namespace Tizen.Content.Download /// 3 /// http://tizen.org/privilege/download /// Thrown when it is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation - /// Thrown when permission is denied. + /// Thrown when it is failed due to an invalid operation. + /// Thrown when a permission is denied. protected virtual void Dispose(bool disposing) { if (_disposed) diff --git a/src/Tizen.Content.Download/Tizen.Content.Download/StateChangedEventArgs.cs b/src/Tizen.Content.Download/Tizen.Content.Download/StateChangedEventArgs.cs index e4c56e8..52cdf11 100755 --- a/src/Tizen.Content.Download/Tizen.Content.Download/StateChangedEventArgs.cs +++ b/src/Tizen.Content.Download/Tizen.Content.Download/StateChangedEventArgs.cs @@ -32,7 +32,7 @@ namespace Tizen.Content.Download } /// - /// Present download state. + /// The present download state. /// /// 3 public DownloadState State -- 2.7.4