add APIs to get storage info
[platform/core/api/media-content.git] / include_product / media_folder.h
index 94adaf9..dac9fa7 100755 (executable)
@@ -69,9 +69,7 @@ int media_folder_get_folder_count_from_db(filter_h filter, int *folder_count);
  *
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
- * @remarks Do not call updating DB function like media_folder_update_to_db() in your callback function, your callback function is invoked as inline function.\n
- *                   So, your callback function is in read state in SQLite. When you are in read state, sometimes you do not update DB. \n
- *                   We do not recommend you call updating DB function in callback of foreach function.
+ * @remarks We do not recommend you call updating DB function in callback of foreach function.
  *
  * @param[in] filter The handle to the media filter
  * @param[in] callback The callback function to be invoked
@@ -126,7 +124,7 @@ int media_folder_get_media_count_from_db(const char *folder_id, filter_h filter,
  *
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
- * @remarks   Do not call updating DB function like media_info_update_to_db(), media_info_refresh_metadata_to_db(), audio_meta_update_to_db(), image_meta_update_to_db() and video_meta_update_to_db()  in your callback function,
+ * @remarks   Do not call updating DB function like media_info_update_to_db() in your callback function,
  *                    your callback function is invoked as inline function. \n
  *                    So, your callback function is in read state in SQLite. When you are in read state, sometimes you do not update DB. \n
  *                    We do not recommend you call updating DB function in callback of foreach function.
@@ -256,41 +254,6 @@ int media_folder_get_path(media_folder_h folder, char **path);
 int media_folder_get_name(media_folder_h folder, char **folder_name);
 
 /**
- * @deprecated Deprecated since 5.0. Use storage_get_type_dev() instead.
- * @brief Gets the folder storage type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
- * @param[in] folder The handle to the media folder
- * @param[out] storage_type The storage type of the media folder
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_folder_get_storage_type(media_folder_h folder, media_content_storage_e *storage_type) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 5.0.
- * @brief Gets the storage id of the folder.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- *
- * @remarks The @a storage_id should be released using free().
- *
- * @param[in] folder The handle to the media folder
- * @param[out] storage_id The storage id of the media folder
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
- */
-int media_folder_get_storage_id(media_folder_h folder, char **storage_id) TIZEN_DEPRECATED_API;
-
-/**
  * @brief Gets the media folder from the media database.
  *
  * @details This function creates a new media folder handle from the media database by the given @a folder_id.