* @{
*/
+#define THUMBNAIL_UTIL_ERROR_CLASS TIZEN_ERROR_THUMBNAIL_UTIL
+
/**
* @ingroup CAPI_MEDIA_THUMBNAIL_UTIL_MODULE
* @brief Enumeration for a thumbnail util error.
THUMBNAIL_UTIL_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
THUMBNAIL_UTIL_ERROR_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
THUMBNAIL_UTIL_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
+ THUMBNAIL_UTIL_ERROR_UNSUPPORTED_CONTENT = THUMBNAIL_UTIL_ERROR_CLASS | 0x01, /**< Unsupported Content (Since 4.0) */
} thumbnail_util_error_e;
* You must release @a thumb_data using free().
*
* @details This callback is called for completion of generating the thumbnail.
+ * The following error codes can be delivered. \n
+ * #MEDIA_CONTENT_ERROR_NONE, \n
+ * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
+ * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
+ * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
+ * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
*
* @param[in] error The error code
* @param[in] request_id The generated request id by thumbnail extraction request
* @param[in] thumb_height The height of the thumbnail which is generated
* @param[in] thumb_data The raw data of the thumbnail which is generated
* @param[in] thumb_size The size of the thumbnail which is generated
- * @param[in] user_data The user data passed from the thumbnail_util_extract() fuction
+ * @param[in] user_data The user data passed from the thumbnail_util_extract() function
*
* @pre thumbnail_util_extract()
*