[WebAPI][Download] replace 'full path' with 'full path or virtual path'
authorHyunjin Park <hj.na.park@samsung.com>
Fri, 16 Oct 2015 08:24:18 +0000 (17:24 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Fri, 16 Oct 2015 08:33:58 +0000 (17:33 +0900)
ACR: TWDAPI-67

Change-Id: I2b619d6ff0c08da9ee8cf5fbde3a3a29d28af865
Signed-off-by: Hyunjin park <hj.na.park@samsung.com>
org.tizen.web.apireference/html/device_api/mobile/tizen/download.html
org.tizen.web.apireference/html/device_api/wearable/tizen/download.html

index 0fe2344..279916f 100644 (file)
@@ -80,7 +80,7 @@ For more information on the Download features, see <a href="../../../../../org.t
 <td>void <a href="#DownloadCallback::onprogress">onprogress</a> (long downloadId, unsigned long long receivedSize, unsigned long long totalSize)<br>
     void <a href="#DownloadCallback::onpaused">onpaused</a> (long downloadId)<br>
     void <a href="#DownloadCallback::oncanceled">oncanceled</a> (long downloadId)<br>
-    void <a href="#DownloadCallback::oncompleted">oncompleted</a> (long downloadId, DOMString fullPath)<br>
+    void <a href="#DownloadCallback::oncompleted">oncompleted</a> (long downloadId, DOMString path)<br>
     void <a href="#DownloadCallback::onfailed">onfailed</a> (long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error)</td>
 </tr>
 </tbody>
@@ -401,8 +401,8 @@ If the network is not available for downloading, the return value is -1 since Ti
    oncanceled: function(id) {
      console.log('Canceled with id: ' + id);
    },
-   oncompleted: function(id, fullPath) {
-     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   oncompleted: function(id, path) {
+     console.log('Completed with id: ' + id + ', path: ' + path);
    },
    onfailed: function(id, error) {
      console.log('Failed with id: ' + id + ', error name: ' + error.name);
@@ -817,7 +817,7 @@ parameters contain an invalid value.
 
        void oncanceled(long downloadId);
 
-       void oncompleted(long downloadId, DOMString fullPath);
+       void oncompleted(long downloadId, DOMString path);
 
        void onfailed(long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error);
    };</pre>
@@ -911,10 +911,10 @@ The interval between the <em>onprogress()</em> callback is platform-dependent. W
 </dt>
 <dd>
 <div class="brief">
- Called when the download operation is completed with the final full path.
+ Called when the download operation is completed with the final full path or virtual path.
 If the same file name already exists in the destination, it is changed according to the platform policy and delivered in this callback.
             </div>
-<div class="synopsis"><pre class="signature prettyprint">void oncompleted(long downloadId, DOMString fullPath);
+<div class="synopsis"><pre class="signature prettyprint">void oncompleted(long downloadId, DOMString path);
              </pre></div>
 <p><span class="version">
             Since: </span>
@@ -924,12 +924,12 @@ If the same file name already exists in the destination, it is changed according
 <p><span class="param">Parameters:</span></p>
 <ul>
           <li class="param">
-<span class="name">downloadId</span>: 
+<span class="name">downloadId</span>:
  The ID of the corresponding download operation.
                 </li>
           <li class="param">
-<span class="name">fullPath</span>: 
- The final full path for the downloaded file.
+<span class="name">path</span>:
+ The final full path or virtual path for the downloaded file.
                 </li>
         </ul>
 </div>
@@ -1039,7 +1039,7 @@ DownloadNetworkType <em>'CELLULAR'</em> can be available on a cellular-enabled d
 
        void oncanceled(long downloadId);
 
-       void oncompleted(long downloadId, DOMString fullPath);
+       void oncompleted(long downloadId, DOMString path);
 
        void onfailed(long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error);
    };
index 5c21702..c8ee313 100644 (file)
@@ -80,7 +80,7 @@ For more information on the Download features, see <a href="../../../../../org.t
 <td>void <a href="#DownloadCallback::onprogress">onprogress</a> (long downloadId, unsigned long long receivedSize, unsigned long long totalSize)<br>
     void <a href="#DownloadCallback::onpaused">onpaused</a> (long downloadId)<br>
     void <a href="#DownloadCallback::oncanceled">oncanceled</a> (long downloadId)<br>
-    void <a href="#DownloadCallback::oncompleted">oncompleted</a> (long downloadId, DOMString fullPath)<br>
+    void <a href="#DownloadCallback::oncompleted">oncompleted</a> (long downloadId, DOMString path)<br>
     void <a href="#DownloadCallback::onfailed">onfailed</a> (long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error)</td>
 </tr>
 </tbody>
@@ -401,8 +401,8 @@ If the network is not available for downloading, the return value is -1 since Ti
    oncanceled: function(id) {
      console.log('Canceled with id: ' + id);
    },
-   oncompleted: function(id, fullPath) {
-     console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+   oncompleted: function(id, path) {
+     console.log('Completed with id: ' + id + ', path: ' + path);
    },
    onfailed: function(id, error) {
      console.log('Failed with id: ' + id + ', error name: ' + error.name);
@@ -817,7 +817,7 @@ parameters contain an invalid value.
 
        void oncanceled(long downloadId);
 
-       void oncompleted(long downloadId, DOMString fullPath);
+       void oncompleted(long downloadId, DOMString path);
 
        void onfailed(long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error);
    };</pre>
@@ -911,10 +911,10 @@ The interval between the <em>onprogress()</em> callback is platform-dependent. W
 </dt>
 <dd>
 <div class="brief">
- Called when the download operation is completed with the final full path.
+ Called when the download operation is completed with the final full path or virtual path.
 If the same file name already exists in the destination, it is changed according to the platform policy and delivered in this callback.
             </div>
-<div class="synopsis"><pre class="signature prettyprint">void oncompleted(long downloadId, DOMString fullPath);
+<div class="synopsis"><pre class="signature prettyprint">void oncompleted(long downloadId, DOMString path);
              </pre></div>
 <p><span class="version">
             Since: </span>
@@ -928,8 +928,8 @@ If the same file name already exists in the destination, it is changed according
  The ID of the corresponding download operation.
                 </li>
           <li class="param">
-<span class="name">fullPath</span>: 
- The final full path for the downloaded file.
+<span class="name">path</span>:
+ The final full path or virtual path for the downloaded file.
                 </li>
         </ul>
 </div>
@@ -1047,7 +1047,7 @@ DownloadNetworkType <em>'CELLULAR'</em> can be available on a cellular-enabled d
 
        void oncanceled(long downloadId);
 
-       void oncompleted(long downloadId, DOMString fullPath);
+       void oncompleted(long downloadId, DOMString path);
 
        void onfailed(long downloadId, <a href="tizen.html#WebAPIError">WebAPIError</a> error);
    };