[application] deprecated AppInfoEventListener APIs
authorHyunjin Park <hj.na.park@samsung.com>
Tue, 11 Aug 2015 02:44:59 +0000 (11:44 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Tue, 11 Aug 2015 02:46:18 +0000 (11:46 +0900)
ACR : http://168.219.209.56/jira/browse/TWDAPI-47
- addAppInfoEventListener/removeAppInfoEventListener methods are deprecated

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

index b492c75..bc0703f 100644 (file)
@@ -1105,6 +1105,10 @@ an empty array is returned
  Adds a listener for receiving any notification for changes in the list of installed applications
 on a device.
             </div>
+<p class="deprecated"><b>Deprecated.</b>
+ It is deprecated since Tizen 2.4.
+Instead, let the app developers set a listener for getting notified for the changes(add/remove/update) of applications on a device using <a href="./package.html#PackageManager::setPackageInfoEventListener">tizen.package.setPackageInfoEventListener()</a>.
+            </p>
 <div class="synopsis"><pre class="signature prettyprint">long addAppInfoEventListener(<a href="#ApplicationInformationEventCallback">ApplicationInformationEventCallback</a> eventCallback);
              </pre></div>
 <p><span class="version">
@@ -1180,6 +1184,10 @@ with the corresponding listener identifier.
  Removes the listener to stop receiving notifications for changes on the list of installed
 applications on a device.
             </div>
+<p class="deprecated"><b>Deprecated.</b>
+ It is deprecated since Tizen 2.4.
+Instead, you can use <a href="./package.html#PackageManager::unsetPackageInfoEventListener">tizen.package.unsetPackageInfoEventListener()</a>.
+            </p>
 <div class="synopsis"><pre class="signature prettyprint">void removeAppInfoEventListener(long watchId);
              </pre></div>
 <p><span class="version">