* limitations under the License.
*/
-#ifndef __TIZEN_METADATA_EDITOR_H__
-#define __TIZEN_METADATA_EDITOR_H__
+#ifndef __TIZEN_MULTIMEDIA_METADATA_EDITOR_H__
+#define __TIZEN_MULTIMEDIA_METADATA_EDITOR_H__
#include <metadata_editor_type.h>
/**
- * @brief Create metadata
+ * @brief Creates metadata.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @remarks You must release @a metadata using metadata_editor_destroy().
+ * @remarks The @a metadata should be released using metadata_editor_destroy().
*
- * @param [in] metadata The handle to metadata
+ * @param[in] metadata The handle to metadata
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
/**
- * @brief Set file path to read or write metadata
+ * @brief Sets file path to read or write metadata.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks In case of accessing specific path in internal storage or external storage, you may add the privilege for accessing the path. \n
* For example, if you get the specific path by using storage_get_directory(). you should add previlege http://tizen.org/privilege/mediastorage or http://tizen.org/privilege/externalstorage.
*
- * @param [in] metadata The handle to metadata
- * @param [in] path path to read or write metadata
+ * @param[in] metadata The handle to metadata
+ * @param[in] path path to read or write metadata
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
/**
- * @brief Get the metadata corresponding to the attribute.
+ * @brief Gets the metadata corresponding to the attribute.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @remarks You must release @a value using @c free(). \n
+ * @remarks The @a value should be released using free(). \n
* If the attribute value of the metadata is empty, return value is NULL. \n
* In case of accessing specific path in internal storage or external storage, you may add the privilege for accessing the path. \n
* For example, if you get the specific path by using storage_get_directory(). you should add previlege http://tizen.org/privilege/mediastorage or http://tizen.org/privilege/externalstorage.
*
- * @param [in] metadata The handle to metadata
- * @param [in] attribute key attribute name to get
- * @param [out] value The value of the attribute
+ * @param[in] metadata The handle to metadata
+ * @param[in] attribute key attribute name to get
+ * @param[out] value The value of the attribute
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
/**
- * @brief Set the attribute of the metadata.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @brief Sets the attribute of the metadata.
* @details This function set the attribute of the metadata for updating the metadata. \n
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @remarks You must release @a value using @c free(). \n
+ * @remarks The @a value should be released using free(). \n
* You must call metadata_editor_update_metadata() for applying to the metadata of the media file. if not, you will see the existing metadata when you call metadata_editor_get_metadata().
*
- * @param [in] metadata The handle to metadata
- * @param [in] attribute key attribute name to get
- * @param [in] value The value of the attribute
+ * @param[in] metadata The handle to metadata
+ * @param[in] attribute key attribute name to get
+ * @param[in] value The value of the attribute
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
/**
- * @brief Update the modified metadata
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ * @brief Updates the modified metadata.
* @details This function update the metadata in the media file that is modified by metadata_editor_set_metadata().
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks In case of accessing specific path in internal storage or external storage, you may add the privilege for accessing the path. \n
* For example, if you get the specific path by using storage_get_directory(). you should add previlege http://tizen.org/privilege/mediastorage or http://tizen.org/privilege/externalstorage.
*
- * @param [in] metadata The handle to metadata
+ * @param[in] metadata The handle to metadata
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
int metadata_editor_update_metadata(metadata_editor_h metadata);
/**
- * @brief Get the picture in the media file
+ * @brief Gets the picture in the media file.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @remarks You must release @a picture using @c free(). \n
+ * @remarks The @a picture abd @a mime_type should be released using free(). \n
* In case of accessing specific path in internal storage or external storage, you may add the privilege for accessing the path. \n
* For example, if you get the specific path by using storage_get_directory(). you should add previlege http://tizen.org/privilege/mediastorage or http://tizen.org/privilege/externalstorage.
*
- * @param [in] metadata The handle to metadata
- * @param [in] index picture order
- * @param [out] picture encoded picture
- * @param [out] size encoded picture size
- * @param [out] mime_type the mime type of picture
+ * @param[in] metadata The handle to metadata
+ * @param[in] index picture order
+ * @param[out] picture encoded picture
+ * @param[out] size encoded picture size
+ * @param[out] mime_type the MIME of the picture
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
int metadata_editor_get_picture(metadata_editor_h metadata, int index, void **picture, int *size, char **mime_type);
/**
- * @brief Append the picture to the media file
+ * @brief Appends the picture to the media file.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must call metadata_editor_update_metadata() for applying to the metadata of the media file. if not, you will see the existing metadata when you call metadata_editor_get_metadata(). \n
* In case of accessing specific path in internal storage or external storage, you may add the privilege for accessing the path. \n
* For example, if you get the specific path by using storage_get_directory(). you should add previlege http://tizen.org/privilege/mediastorage or http://tizen.org/privilege/externalstorage.
*
- * @param [in] metadata The handle to metadata
- * @param [in] picture_path The path of picture for adding to the metadata
+ * @param[in] metadata The handle to metadata
+ * @param[in] picture_path The path of picture for adding to the metadata
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
int metadata_editor_append_picture(metadata_editor_h metadata, const char *picture_path);
/**
- * @brief Remove artwork image from media file
+ * @brief Removes artwork image from media file.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must call metadata_editor_update_metadata() for applying to the metadata of the media file. if not, you will see the existing metadata when you call metadata_editor_get_metadata(). \n
*
- * @param [in] metadata The handle to metadata
- * @param [in] index artwork image order
+ * @param[in] metadata The handle to metadata
+ * @param[in] index artwork image order
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
int metadata_editor_remove_picture(metadata_editor_h metadata, int index);
/**
- * @brief Destroy metadata
+ * @brief Destroys metadata.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
- * @param [in] metadata The handle to metadata
+ * @param[in] metadata The handle to metadata
* @return 0 on success, otherwise a negative error value
* @retval #METADATA_EDITOR_ERROR_NONE Successful
* @retval #METADATA_EDITOR_ERROR_INVALID_PARAMETER Invalid parameter
}
#endif /* __cplusplus */
-#endif /* __TIZEN_METADATA_EDITOR_H__ */
+#endif /* __TIZEN_MULTIMEDIA_METADATA_EDITOR_H__ */