*
* @pre Create a thumbnail info handle by calling thumbnail_util_create(). \n
* The content path that you want to generate thumbnail must be set by calling thumbnail_util_set_path().
+ * @post Thumbnail extraction result except canceled is provided by thumbnail_extracted_cb().
* @see thumbnail_util_create()
* @see thumbnail_util_set_path()
* @see thumbnail_util_set_size()
* @see thumbnail_util_cancel()
* @see thumbnail_util_cancel_all()
* @see thumbnail_util_destroy()
- * @post Thumbnail extraction result except canceled is provided by thumbnail_extracted_cb().
*/
int thumbnail_util_extract(thumbnail_h thumb, thumbnail_extracted_cb callback, void *user_data, char **request_id);
int thumbnail_util_cancel(thumbnail_h thumb, const char *request_id);
/**
+ * @deprecated Deprecated since 4.0. Use thumbnail_util_cancel() instead.
* @brief Cancels all thumbnail extraction requests associated with the given thumbnail info handle.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @remarks If there is no item you want to cancel, this API return MEDIA_CONTENT_ERROR_INVALID_OPERATION
* @pre It is available before thumbnail_extracted_cb() is called.
* @see thumbnail_util_extract()
*/
-int thumbnail_util_cancel_all(thumbnail_h thumb);
+int thumbnail_util_cancel_all(thumbnail_h thumb) TIZEN_DEPRECATED_API;
/**
* @brief Destroys thumbnail info handle.
int thumbnail_util_cancel_all(thumbnail_h thumb)
{
+ media_content_warn("DEPRECATION WARNING: thumbnail_util_cancel_all() is deprecated and will be removed from next release. Use thumbnail_util_cancel() instead.");
int ret = THUMBNAIL_UTIL_ERROR_NONE;
thumbnail_s *_thumb = (thumbnail_s *)thumb;