From 60f85c1c9a09532ac5f6523ac65259a19166ee19 Mon Sep 17 00:00:00 2001 From: Hyunjin Park Date: Wed, 21 Oct 2015 20:11:20 +0900 Subject: [PATCH] [Content] Clarify remark of onsuccess and change parameter name Change-Id: I34348612b499129683162a52e2d9834c9589c0dd Signed-off-by: hyunjin park --- .../html/device_api/mobile/tizen/content.html | 14 +++++++------- .../html/device_api/wearable/tizen/content.html | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/org.tizen.web.apireference/html/device_api/mobile/tizen/content.html b/org.tizen.web.apireference/html/device_api/mobile/tizen/content.html index aa6c127..4450eef 100644 --- a/org.tizen.web.apireference/html/device_api/mobile/tizen/content.html +++ b/org.tizen.web.apireference/html/device_api/mobile/tizen/content.html @@ -124,7 +124,7 @@ Playlist functionality has been added in Tizen 2.3. ContentScanSuccessCallback -void onsuccess (DOMString contentURI) +void onsuccess (DOMString uri) ContentChangeCallback @@ -1432,7 +1432,7 @@ UnknownError: In case of any error The callback function used to return content or content directory to scan.
  [Callback=FunctionOnly, NoInterfaceObject] interface ContentScanSuccessCallback {
-    void onsuccess(DOMString contentURI);
+    void onsuccess(DOMString uri);
   };

Since: @@ -1448,21 +1448,21 @@ UnknownError: In case of any error

Called when the scanning has been completed.
-
void onsuccess(DOMString contentURI);
+
void onsuccess(DOMString uri);
              

Since: 2.1

Remark : - ContentDirectory object can be passed since Tizen 2.4. + This callback is also invoked upon success of the scanDirectory() method since Tizen 2.4. Therefore, the uri parameter may now also be the URI of a ContentDirectory object.

Parameters:

  • -contentURI: - The URI of the Content or the ContentDirectory object. +uri: + The URI of the Content or the ContentDirectory object.
@@ -3341,7 +3341,7 @@ It is used in tizen.content.createPlaylist(). }; [Callback=FunctionOnly, NoInterfaceObject] interface ContentScanSuccessCallback { - void onsuccess(DOMString contentURI); + void onsuccess(DOMString uri); }; [Callback, NoInterfaceObject] interface ContentChangeCallback { diff --git a/org.tizen.web.apireference/html/device_api/wearable/tizen/content.html b/org.tizen.web.apireference/html/device_api/wearable/tizen/content.html index 0fdc7ec..e5f2880 100644 --- a/org.tizen.web.apireference/html/device_api/wearable/tizen/content.html +++ b/org.tizen.web.apireference/html/device_api/wearable/tizen/content.html @@ -124,7 +124,7 @@ Playlist functionality has been added in Tizen 2.3. ContentScanSuccessCallback -void onsuccess (DOMString contentURI) +void onsuccess (DOMString uri) ContentChangeCallback @@ -1432,7 +1432,7 @@ UnknownError: In case of any error The callback function used to return content or content directory to scan.
  [Callback=FunctionOnly, NoInterfaceObject] interface ContentScanSuccessCallback {
-    void onsuccess(DOMString contentURI);
+    void onsuccess(DOMString uri);
   };

Since: @@ -1448,21 +1448,21 @@ UnknownError: In case of any error

Called when the scanning has been completed.
-
void onsuccess(DOMString contentURI);
+
void onsuccess(DOMString uri);
              

Since: 2.1

Remark : - ContentDirectory object can be passed since Tizen 2.4. + This callback is also invoked upon success of the scanDirectory() method since Tizen 2.4. Therefore, the uri parameter may now also be the URI of a ContentDirectory object.

Parameters:

  • -contentURI: - The URI of the Content or the ContentDirectory object. +uri: + The URI of the Content or the ContentDirectory object.
@@ -3341,7 +3341,7 @@ It is used in tizen.content.createPlaylist(). }; [Callback=FunctionOnly, NoInterfaceObject] interface ContentScanSuccessCallback { - void onsuccess(DOMString contentURI); + void onsuccess(DOMString uri); }; [Callback, NoInterfaceObject] interface ContentChangeCallback { -- 2.7.4