[ACR-436] Modify getter API return value from "Unknown" to empty string("")
[platform/core/api/media-content.git] / include / media_info.h
index 688ebbe..3b0bbe1 100755 (executable)
@@ -729,6 +729,8 @@ int media_info_get_thumbnail_path(media_info_h media, char **path);
 
 /**
  * @brief Gets the description of media info.
+ * @details If the value is an empty string, the method returns "Unknown". \n
+ *                Since 3.0, if the media info has no description, the method returns empty string.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
  * @remarks You must release @a description using free().
@@ -903,6 +905,9 @@ int media_info_get_content_name(media_info_h media, char **content_name);
 
 /**
  * @brief Gets the title of media info.
+ * @details If the value is an empty string, the method returns "Unknown". \n
+ *                Since 3.0, if the media info has no title, the method returns empty string.
+ *
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
  * @remarks You must release @a title using free().
@@ -1660,7 +1665,6 @@ int media_info_create(const char *path, media_info_h *media);
 * @privilege %http://tizen.org/privilege/content.write
 *
 * @param[in] media The media info handle to be inserted
-* @param[out] info The media info handle to get data from database
 *
 * @return @c 0 on success,
 *           otherwise a negative error value
@@ -1672,7 +1676,7 @@ int media_info_create(const char *path, media_info_h *media);
 *
 * @see media_info_create()
 */
-int media_info_insert_to_db_with_data(media_info_h media, media_info_h *info);
+int media_info_insert_to_db_with_data(media_info_h media);
 
 /**
 * @brief Sets the title of media info handle.