* @since_tizen 2.3.1
* @privlevel public
* @privilege %http://tizen.org/privilege/widget.viewer
+ * @remarks @a w and @a h should be released using free().
* @param[in] widget_id appid of widget application
* @param[in,out] cnt Count of array w and h
* @param[out] w Width array
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @retval #WIDGET_ERROR_IO_ERROR Failed to access DB
+ * @par Example
+ * @code
+#include <widget_service.h>
+
+int main()
+{
+ int ret;
+ int *w;
+ int *h;
+ int cnt = 0;
+
+ ret = widget_service_get_supported_sizes("widget_id", &cnt, &w, &h);
+ ...
+ free(w);
+ free(h);
+
+ return 0;
+}
+ * @endcode
* @see widget_service_get_supported_size_types()
*/
int widget_service_get_supported_sizes(const char *widget_id, int *cnt, int **w, int **h);
* @since_tizen 2.3.1
* @privlevel public
* @privilege %http://tizen.org/privilege/widget.viewer
+ * @remarks The @a types should be released using free().
* @param[in] widgetid appid of widget application
* @param[in] cnt Size of types array
* @param[out] types Array of types
* @retval #WIDGET_ERROR_PERMISSION_DENIED Permission denied
* @retval #WIDGET_ERROR_INVALID_PARAMETER Invalid argument
* @retval #WIDGET_ERROR_IO_ERROR Failed to access DB
+ * @par Example
+ * @code
+#include <widget_service.h>
+
+int main()
+{
+ int ret;
+ int cnt = 0;
+ int *types;
+
+ ret = widget_service_get_supported_size_types("widget_id", &cnt, &types);
+ ...
+ free(tyeps);
+
+ return 0;
+}
+ * @endcode
* @see widget_service_get_supported_sizes()
*/
int widget_service_get_supported_size_types(const char *widgetid, int *cnt, int **types);
/**
* @brief Unsets event handler callback function for life cycle events of widgets.
* @since_tizen 2.3.1
+ * @remarks Releasing the @a user_data depends on @a data that set by widget_service_set_lifecycle_event_cb() function.
* @param[in] widget_id appid of widget application
* @param[out] user_data User callback data
* @return @c 0 on success,