/**
* @enum PackageInstallationResult
*
- * Defines the result of package installation.
+ * Defines the result of a package installation.
*
* @since 2.0
*/
{
PACKAGE_INSTALLATION_RESULT_SUCCESS = 0, /**< Success */
PACKAGE_INSTALLATION_RESULT_INVALID_PACKAGE, /**< An invalid package */
- PACKAGE_INSTALLATION_RESULT_STORAGE_FULL, /**< The installation target storage is full. */
+ PACKAGE_INSTALLATION_RESULT_STORAGE_FULL, /**< The installation's target storage is full */
};
/**
* @interface IPackageInstallationEventListener
-* @brief This interface defines a listener for a package installation and uninstallation.
+* @brief This interface defines a listener for a package's installation and uninstallation.
*
* @since 2.0
*
-* The %IPackageInstallationEventListener interface defines a listener that is notified for events related to installation or uninstallation of packages on a device.
+* The %IPackageInstallationEventListener interface defines a listener that is notified about events related to the installation or uninstallation of a package on a device.
* The events include installation completion, uninstallation completion, and installation progress.
-* This listener is registered with the PackageManager::AddPackageInstallationEventListener() method and unregistered with the PackageManager::RemovePackageInstallationEventListener() method.
-* Generally, this listener is used in system applications such as application service that utilizes packages' (un)installation information in a system.
+* This listener is registered using the PackageManager::AddPackageInstallationEventListener() method and unregistered using the PackageManager::RemovePackageInstallationEventListener() method.
+* Generally, this listener is used in system applications such as an application service that utilizes a package's (un)installation information that is present in the system.
*/
class _OSP_EXPORT_ IPackageInstallationEventListener
: virtual public Tizen::Base::Runtime::IEventListener
{
public:
/**
- * This polymorphic destructor should be overridden if required.
+ * This polymorphic destructor should be overridden if required. @n
* This way, the destructors of the derived classes are called when the destructor of this interface is called.
*
* @since 2.0
/**
* Called when a package uninstallation is completed. @n
- * The value of @c uninstallationResult is @c true if the uninstallation is successful, else @c false.
+ * The value of @c uninstallationResult is @c true if the uninstallation is successful, otherwise it is @c false.
*
* @since 2.0
*
- * @param[in] packageId The package ID
+ * @param[in] packageId The package ID
* @param[in] uninstallationResult Set to @c true if the uninstallation is successful, @n
- * else @c false
+ * else @c false
*/
virtual void OnPackageUninstallationCompleted(const PackageId& packageId, bool uninstallationResult) = 0;
* @since 2.0
*
* @param[in] packageId The package ID
- * @param[in] progress The progress of an installation in percentage
+ * @param[in] progress The progress of the installation in percentage
*/
virtual void OnPackageInstallationInProgress(const PackageId& packageId, int progress) = 0;