X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFAppPkgIPackageInstallationResponseListener.h;h=b4d203c1a3a5432f2152abfdb8aecd123d36ab30;hb=4d451910df2d31e4c7ec7da85ded34bb09be862e;hp=7288d006ad2d86deb22e40e129957b1acd55cfa0;hpb=27f1388665067f69d5eb64e0cae6bb5f4250beec;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FAppPkgIPackageInstallationResponseListener.h b/inc/FAppPkgIPackageInstallationResponseListener.h index 7288d00..b4d203c 100755 --- a/inc/FAppPkgIPackageInstallationResponseListener.h +++ b/inc/FAppPkgIPackageInstallationResponseListener.h @@ -37,43 +37,45 @@ namespace Tizen { namespace App { namespace Package * * @since 2.0 * - * The %IPackageInstallationResponseListener interface defines a listener for the asynchronous package installation operation. - * + * The %IPackageInstallationResponseListener interface defines a listener that is notified about events related to the installation of a target package. + * The events include the installation result and the installation progress information. + * Generally, applications such as the Tizen Store use this listener in a package installation step. + * @see PackageManager::InstallPackage() */ class _OSP_EXPORT_ IPackageInstallationResponseListener : virtual public Tizen::Base::Runtime::IEventListener { public: /** - * This polymorphic destructor should be overridden if required. - * This way, the destructors of the derived classes are called when the destructor of this interface is called. - * - * @since 2.0 - * - */ + * 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 + * + */ virtual ~IPackageInstallationResponseListener(void) {} /** - * Called when a package installation is completed. @n + * Called when a package installation is completed. @n * The value of @c installationResult is @c PACKAGE_INSTALLATION_RESULT_SUCCESS if the installation is successful. - * - * @since 2.0 - * - * @param[in] packageId The package ID - * @param[in] installationResult The installation result - * - */ + * + * @since 2.0 + * + * @param[in] packageId The package ID + * @param[in] installationResult The installation result + * + */ virtual void OnPackageInstallationResponseReceived(const PackageId& packageId, PackageInstallationResult installationResult) = 0; /** - * Called when a package installation is in progress. - * - * @since 2.0 - * - * @param[in] packageId The package ID - * @param[in] progress The progress of an installation in percentage - * - */ + * Called when a package installation is in progress. + * + * @since 2.0 + * + * @param[in] packageId The package ID + * @param[in] progress The progress of the installation in percentage + * + */ virtual void OnPackageInstallationInProgressResponseReceived(const PackageId& packageId, int progress) = 0;