summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheoleun Moon <chleun.moon@samsung.com>2020-12-17 15:03:11 +0900
committerCheoleun Moon <chleun.moon@samsung.com>2020-12-17 16:54:35 +0900
commitc4dd59db91c039bee41d66ab1fd1511ef0e6ab4d (patch)
tree2fa0cc53202be40c87b44468030a3cf060585769
parent07dd49730367e8eaad7b65b3a37e924d0bd64678 (diff)
downloadurl-download-tizen_5.0.tar.gz
url-download-tizen_5.0.tar.bz2
url-download-tizen_5.0.zip
Change-Id: Id3ca55dddbd2b8d46ff8586b2926cd343bd246a6
-rw-r--r--doc/download_doc.h8
-rwxr-xr-xinclude/download.h8
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/download_doc.h b/doc/download_doc.h
index 21c589f..bdd17b9 100644
--- a/doc/download_doc.h
+++ b/doc/download_doc.h
@@ -37,10 +37,10 @@
*
* @section CAPI_WEB_DOWNLOAD_MODULE_FEATURE Related Features
* This API is related with the following features:\n
- * - http://tizen.org/feature/download\n
- * - http://tizen.org/feature/network.telephony\n
- * - http://tizen.org/feature/network.wifi\n
- * - http://tizen.org/feature/network.wifi.direct\n
+ * - %http://tizen.org/feature/download\n
+ * - %http://tizen.org/feature/network.telephony\n
+ * - %http://tizen.org/feature/network.wifi\n
+ * - %http://tizen.org/feature/network.wifi.direct\n
*
* It is recommended to design feature related codes in your application for reliability.\n
*
diff --git a/include/download.h b/include/download.h
index 4e98544..2c822c7 100755
--- a/include/download.h
+++ b/include/download.h
@@ -346,7 +346,9 @@ int download_get_network_type(int download_id, download_network_type_e *net_type
* @privlevel public
* @privilege %http://tizen.org/privilege/download
*
- * @remarks This function should be called before downloading (see download_start()).
+ * @remarks This function should be called before downloading (see download_start()). \n
+ * The mediastorage privilege %http://tizen.org/privilege/mediastorage is needed if @a path is relevant to media storage.\n
+ * The externalstorage privilege %http://tizen.org/privilege/externalstorage is needed if @a path is relevant to external storage.
*
* @param[in] download_id The download ID
* @param[in] path The absolute path to the downloaded file \n
@@ -995,7 +997,9 @@ int download_get_temp_path(int download_id, char **temp_path);
* @privilege %http://tizen.org/privilege/download
*
* @remarks If the etag value is not present in the download database, it is useless to set the temporary path. \n
- * When resuming download, the data is attached at the end of this temporary file.
+ * When resuming download, the data is attached at the end of this temporary file. \n
+ * The mediastorage privilege %http://tizen.org/privilege/mediastorage is needed if @a path is relevant to media storage.\n
+ * The externalstorage privilege %http://tizen.org/privilege/externalstorage is needed if @a path is relevant to external storage.
*
* @param[in] download_id The download ID
* @param[out] path The full path of temporary file