X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fmedia_video.h;h=c9699903dd964ef01d741ca97286b50a8bcf567c;hb=e68d9bbbc5b05d2d6e76cad0c739288e9f66ca33;hp=693074783cb9b1baab19dd6e28cea2c9664e9e95;hpb=c57688b0f71d67165df1b086fee1276db08ef2d9;p=platform%2Fcore%2Fapi%2Fmedia-content.git diff --git a/include/media_video.h b/include/media_video.h index 6930747..c969990 100755 --- a/include/media_video.h +++ b/include/media_video.h @@ -28,7 +28,7 @@ extern "C" { * @file media_video.h * @brief This file contains the video metadata API and related functions to proceed with video metadata. \n * Functions include cloning and destroying video metadata, getting video metadata such as width, height, \n - * album, genre, played parameters etc. and updating video to DB. + * album, genre, etc. */ /** @@ -101,7 +101,7 @@ int video_meta_get_media_id(video_meta_h video, char **media_id); /** * @brief Gets the album of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no album info, the method returns empty string. + * Since 3.0, if the media content has no album info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -122,7 +122,7 @@ int video_meta_get_album(video_meta_h video, char **album); /** * @brief Gets the artist of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no artist info, the method returns empty string. + * Since 3.0, if the media content has no artist info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -143,7 +143,7 @@ int video_meta_get_artist(video_meta_h video, char **artist); /** * @brief Gets the video album artist. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no album artist info, the method returns empty string. + * Since 3.0, if the media content has no album artist info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -164,7 +164,7 @@ int video_meta_get_album_artist(video_meta_h video, char **album_artist); /** * @brief Gets the genre of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no genre info, the method returns empty string. + * Since 3.0, if the media content has no genre info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -185,7 +185,7 @@ int video_meta_get_genre(video_meta_h video, char **genre); /** * @brief Gets the composer of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no composer info, the method returns empty string. + * Since 3.0, if the media content has no composer info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -206,7 +206,7 @@ int video_meta_get_composer(video_meta_h video, char **composer); /** * @brief Gets the year of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no year info, the method returns empty string. + * Since 3.0, if the media content has no year info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -225,9 +225,9 @@ int video_meta_get_composer(video_meta_h video, char **composer); int video_meta_get_year(video_meta_h video, char **year); /** - * @brief Gets the recorded date of the video. - * @details The recorded date is got from video file's metadata. Some formats like mp4 use UTC and the rest can be different. \n - * So, please refer to the format specification if needed. + * @brief Gets the recorded date of the given video metadata. + * @details The format of the recorded date may vary depending on the file format. \n + * For more details on the recorded date format, refer to the file format specification. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -248,7 +248,7 @@ int video_meta_get_recorded_date(video_meta_h video, char **recorded_date); /** * @brief Gets the copyright notice of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no copyright info, the method returns empty string. + * Since 3.0, if the media content has no copyright info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -269,7 +269,7 @@ int video_meta_get_copyright(video_meta_h video, char **copyright); /** * @brief Gets the track number of the given video metadata. * @details If the value is an empty string, the method returns "Unknown". \n - * Since 3.0, if the media content has no track info, the method returns empty string. + * Since 3.0, if the media content has no track info, the method returns empty string. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @@ -363,39 +363,6 @@ int video_meta_get_height(video_meta_h video, int *height); int video_meta_get_rotation(video_meta_h video, int *rotation); /** - * @deprecated Deprecated since 4.0. Related setter functions are deprecated, therefore this function is not needed anymore. - * @brief Updates an video metadata with modified attributes in the media database. - * @details The function updates the given video meta in the media database. The function should be called after any change in video attributes, to be updated to the media - * database. - * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * - * @privlevel public - * @privilege %http://tizen.org/privilege/content.write - * - * @remarks Do not call this function in callback function of foreach function like media_info_foreach_media_from_db(). - * - * @param[in] video The handle to the video metadata - * - * @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 - * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation - * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB Operation failed - * @retval #MEDIA_CONTENT_ERROR_DB_BUSY DB Operation busy - * @retval #MEDIA_CONTENT_ERROR_NETWORK Network fail - * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied - * - * @pre This function requires opened connection to content service by media_content_connect(). - * - * @see media_content_connect() - */ -int video_meta_update_to_db(video_meta_h video) TIZEN_DEPRECATED_API; - -/** *@} */