typedef enum {
PACKAGE_INFO_INTERNAL_STORAGE = 0, /**< Internal storage */
PACKAGE_INFO_EXTERNAL_STORAGE = 1, /**< External storage */
+ PACKAGE_INFO_EXTENDED_STORAGE = 2, /**< Extended storage (Since 5.0) */
} package_info_installed_storage_type_e;
PACKAGE_INFO_ALLAPP = 0, /**< All application */
PACKAGE_INFO_UIAPP = 1, /**< UI application */
PACKAGE_INFO_SERVICEAPP = 2, /**< Service application */
+ PACKAGE_INFO_WIDGETAPP = 3, /**< Widget application (Since 4.0) */
+ PACKAGE_INFO_WATCHAPP = 4, /**< Watch application (Since 4.0) */
} package_info_app_component_type_e;
/**
* @brief Called to get the application ID once for each installed package.
* @since_tizen 2.3
- * @param[in] comp_type The Application Component type
- * @param[in] callback The callback function to be invoked
+ * @param[in] comp_type The application component type
+ * @param[in] app_id The application ID.
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop,
* otherwise @c false to break out of the loop
/**
* @brief Called to get the certification information.
* @since_tizen 2.3
- * @param[in] package_info The package info handle
+ * @param[in] handle The package info handle
* @param[in] cert_type The certificate type
* @param[in] cert_value The certificate value of corresponding certificate key \n
* This value is base64 encoded data.
/**
* @platform
- * @brief Gets the name of the TEP(Tizen Expansion Package).
+ * @brief Gets the name of the TEP (Tizen Expansion Package).
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @privlevel platform
* @privilege %http://tizen.org/privilege/packagemanager.admin
int package_info_clone(package_info_h *clone, package_info_h package_info);
/**
- * @brief Gets the package information for the given package
+ * @brief Gets the package information for the given package.
* @since_tizen 2.3
* @remarks You must release @a package_info using package_info_destroy().
* @param[in] package The ID of the package
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
* @retval #PACKAGE_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #PACKAGE_MANAGER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occured
+ * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occurred
*/
int package_info_updateinfo_get_pkgid(package_updateinfo_h info, char **package);
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
* @retval #PACKAGE_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #PACKAGE_MANAGER_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occured
+ * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occurred
*/
int package_info_updateinfo_get_version(package_updateinfo_h info, char **version);
* otherwise a negative error value
* @retval #PACKAGE_MANAGER_ERROR_NONE Successful
* @retval #PACKAGE_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occured
+ * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR Internal I/O error occurred
*/
int package_info_updateinfo_get_type(package_updateinfo_h info,
package_updateinfo_type_e *type);
int package_info_updateinfo_destroy(package_updateinfo_h info);
/**
- * @brief Retrieve update information of all packages and invoke callback for each of it.
+ * @brief Retrieves update information of all packages and invoke callback for each of it.
* @since_tizen 4.0
* @param[in] callback The iteration callback function
* @param[in] user_data The user data to be passed to the callback function