//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return An error code
* @param[in] listener The package installation event listener
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return An error code
* @param[in] listener The package installation event listener
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return A pointer to PackageInfo
* @param[in] packageId The package ID
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return A pointer to PackageAppInfo
* @param[in] appId The application ID
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return A pointer to the list of the PackageInfo instances, @n
* else @c null if it fails
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/package.info
+ * @privilege %http://tizen.org/privilege/package.info @n
+ * (%http://tizen.org/privilege/packageinfo is deprecated.)
*
* @return @c true if a package is installed, @n
* else @c false
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @remarks A listener instance ownership is transferred to the platform. After notifying result, the listener instance is removed automatically. A reuse of the listener instance is not allowed.
- * @see IPackageInstallationResponseListener
*/
result InstallPackage(const PackageId& packageId, const Tizen::Base::String& packagePath, IPackageInstallationResponseListener* pListener);
* @exception E_PKG_NOT_INSTALLED The package is not installed.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @remarks A listener instance ownership is transferred to the platform. After notifying result, the listener instance is removed automatically. A reuse of the listener instance is not allowed.
- * @see IPackageUninstallationResponseListener
*/
result UninstallPackage(const PackageId& packageId, IPackageUninstallationResponseListener* pListener);
*
* @since 2.0
* @privlevel platform
- * @privilege %http://tizen.org/privilege/package.setting
+ * @privilege %http://tizen.org/privilege/packagemanager.setting @n
+ * (%http://tizen.org/privilege/packagesetting is deprecated.)
*
* @return An error code
* @param[in] packageId The package ID
*
* @since 2.0
* @privlevel platform
- * @privilege %http://tizen.org/privilege/package.setting
+ * @privilege %http://tizen.org/privilege/packagemanager.setting @n
+ * (%http://tizen.org/privilege/packagesetting is deprecated.)
*
* @return An error code
* @param[in] packageId The package ID
result MoveToInternalStorage(const PackageId& packageId);
/**
- * Gets a package information from the specific file. The supported file extensions are tpk and wgt.
+ * Gets a package information from a specific file. @n The supported file extensions are tpk and wgt.
*
* @since 2.1
* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.info
*
- * @return A pointer to the %PackageInfo instance, @n
+ * @return A pointer to the PackageInfo instance, @n
* else @c null if it fails
* @param[in] filePath The package file path
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_FILE_NOT_FOUND The specified file cannot be found or accessed.
* @exception E_UNSUPPORTED_FORMAT The specified format is invalid or not supported.
* @exception E_PARSING_FAILED The method has failed to parse the package file or xml file(s) inside the package.
* @privlevel public
* @privilege %http://tizen.org/privilege/package.info
*
- * @return A pointer to the list of the %PackageInfo instances, @n
+ * @return A pointer to the list of the PackageInfo instances, @n
* else @c null if it fails
* @param[in] packageFilterMap The predefined key(Tizen::Base::String)-value(Tizen::Base::Boolean) pairs for the package filter @n
* For more information on the predefined key-value pairs for package filter,
- * see <a href="../org.tizen.native.appprogramming/html/guide/app/packagefilter.htm">the predefined key-value pairs for package filter</a>.
+ * see <a href="../org.tizen.native.appprogramming/html/guide/app/package_app_filter.htm">the predefined key-value pairs for package filter</a>.
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @remarks The specific error code can be accessed using the GetLastResult() method.
* @privlevel public
* @privilege %http://tizen.org/privilege/package.info
*
- * @return A pointer to the list of the %PackageAppInfo instances, @n
+ * @return A pointer to the list of the PackageAppInfo instances, @n
* else @c null if it fails
* @param[in] packageAppFilterMap The predefined key(Tizen::Base::String)-value(Tizen::Base::String or Tizen::Base::Boolean) pairs for the package app filter @n
- * For more information on the predefined key-value pairs for package app filter,
- * see <a href="../org.tizen.native.appprogramming/html/guide/app/packageappfilter.htm">the predefined key-value pairs for package app filter</a>.
+ * For more information, see <a href="../org.tizen.native.appprogramming/html/guide/app/package_app_filter.htm">
+ * the predefined key-value pairs for package app filter</a>.
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_INVALID_ARG The specified input parameter is invalid.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @remarks The specific error code can be accessed using the GetLastResult() method.
* @privlevel public
* @privilege %http://tizen.org/privilege/package.info
*
- * @return A pointer to the list of the %PackageAppInfo instances, @n
+ * @return A pointer to the list of the PackageAppInfo instances, @n
* else @c null if it fails
* @param[in] packageFilterMap The predefined key(Tizen::Base::String)-value(Tizen::Base::Boolean) pairs for the package filter @n
* @param[in] packageAppFilterMap The predefined and user defined key(Tizen::Base::String)-value(Tizen::Base::String or Tizen::Base::Boolean) pairs for the package app filter @n
- * The user defined key-value pairs can be added in <Metadata> of manifest.xml.
- *
- * For more information on the predefined key-value pairs for package filter,
- * see <a href="../org.tizen.native.appprogramming/html/guide/app/packagefilter.htm">the predefined key-value pairs for package filter</a>.
- * For more information on the predefined key-value pairs for package app filter,
- * see <a href="../org.tizen.native.appprogramming/html/guide/app/packageappfilter.htm">the predefined key-value pairs for package app filter</a>.
- *
+ * The user defined key-value pairs can be added in <Metadata> of manifest.xml. @n For more information,
+ * see <a href="../org.tizen.native.appprogramming/html/guide/app/package_filter.htm">the predefined key-value pairs
+ * for package filter</a> and <a href="../org.tizen.native.appprogramming/html/guide/app/package_app_filter.htm">the
+ * predefined key-value pairs for package app filter</a>.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.