int media_info_insert_burst_shot_to_db(const char **path_array, unsigned int array_length, media_insert_burst_shot_completed_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 5.0. Use media_content_scan_file() instead.
* @brief Deletes the media information from the media database.
* @details This function only remove media information in the media database. \n
- * You can use media_content_scan_file()/media_content_scan_folder() function instead of this function if file is removed from the file system.
+ * You can use media_content_scan_file()/media_content_scan_folder() function instead of this function if a file is removed from the file system.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @see media_content_scan_file()
* @see media_content_scan_folder()
*/
-int media_info_delete_from_db(const char *media_id);
+int media_info_delete_from_db(const char *media_id) TIZEN_DEPRECATED_API;
/**
* @deprecated Deprecated since 4.0.
* %http://tizen.org/privilege/externalstorage
*
* @remarks If you want to destroy the media handle before callback invoked, you must cancel the face detection request by using media_info_cancel_face_detection(). \n
- * If face detection fails, the @a face_count argument in media_face_detection_completed_cb() will be set to 0.
+ * If face detection fails, the face_count argument in media_face_detection_completed_cb() will be set to 0.
* Media items in external storage are not supported, with the exception of MMC items.
*
* @param[in] media The handle to the media info
int media_info_insert_burst_shot_to_db(const char **path_array, unsigned int array_length, media_insert_burst_shot_completed_cb callback, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 5.0. Use media_content_scan_file() instead.
* @brief Deletes the media information from the media database.
* @details This function only remove media information in the media database. \n
- * You can use media_content_scan_file()/media_content_scan_folder() function instead of this function if file is removed from the file system.
+ * You can use media_content_scan_file()/media_content_scan_folder() function instead of this function if a file is removed from the file system.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @see media_content_scan_file()
* @see media_content_scan_folder()
*/
-int media_info_delete_from_db(const char *media_id);
+int media_info_delete_from_db(const char *media_id) TIZEN_DEPRECATED_API;
/**
* @deprecated Deprecated since 4.0.
* %http://tizen.org/privilege/externalstorage
*
* @remarks If you want to destroy the media handle before callback invoked, you must cancel the face detection request by using media_info_cancel_face_detection(). \n
- * If face detection fails, the @a face_count argument in media_face_detection_completed_cb() will be set to 0.
+ * If face detection fails, the face_count argument in media_face_detection_completed_cb() will be set to 0.
* Media items in external storage are not supported, with the exception of MMC items.
*
* @param[in] media The handle to the media info
int ret = MEDIA_CONTENT_ERROR_NONE;
char *path = NULL;
char storage_id[MEDIA_CONTENT_UUID_SIZE+1] = {0, };
+ media_content_warn("DEPRECATION WARNING: media_info_delete_from_db() is deprecated and will be removed from next release. Use media_content_scan_file() instead.");
if (!STRING_VALID(media_id)) {
media_content_error("INVALID_PARAMETER(0x%08x)", MEDIA_CONTENT_ERROR_INVALID_PARAMETER);