From 84bf986fd703c8fce7ada5c53367299ecd9ec582 Mon Sep 17 00:00:00 2001 From: "minje.ahn" Date: Tue, 5 Dec 2023 16:40:36 +0900 Subject: [PATCH] Remove profile tag Change-Id: I6df6098f5c8fe2831719d53cc1a12608db70163a Signed-off-by: minje.ahn --- include/media_audio.h | 34 +++---- include/media_bookmark.h | 16 ++-- include/media_content.h | 10 +-- include/media_content_type.h | 150 +++++++++++++++---------------- include/media_filter.h | 16 ++-- include/media_folder.h | 20 ++--- include/media_group.h | 30 +++---- include/media_image.h | 22 ++--- include/media_info.h | 70 +++++++-------- include/media_playlist.h | 42 ++++----- include/media_tag.h | 30 +++---- include/media_video.h | 32 +++---- include_product/media_audio.h | 34 +++---- include_product/media_bookmark.h | 16 ++-- include_product/media_content.h | 10 +-- include_product/media_content_product.h | 14 +-- include_product/media_content_type.h | 154 ++++++++++++++++---------------- include_product/media_filter.h | 18 ++-- include_product/media_folder.h | 20 ++--- include_product/media_group.h | 30 +++---- include_product/media_image.h | 22 ++--- include_product/media_info.h | 70 +++++++-------- include_product/media_playlist.h | 42 ++++----- include_product/media_tag.h | 30 +++---- include_product/media_video.h | 32 +++---- 25 files changed, 482 insertions(+), 482 deletions(-) diff --git a/include/media_audio.h b/include/media_audio.h index 9ab5009..abfe6b8 100755 --- a/include/media_audio.h +++ b/include/media_audio.h @@ -40,7 +40,7 @@ extern "C" { * @brief Clones the audio metadata. * @details This function copies the audio metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using audio_meta_destroy(). * @@ -64,7 +64,7 @@ int audio_meta_clone(audio_meta_h *dst, audio_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @@ -82,7 +82,7 @@ int audio_meta_destroy(audio_meta_h audio); /** * @brief Gets the ID of the media of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -103,7 +103,7 @@ int audio_meta_get_media_id(audio_meta_h audio, char **media_id); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using free(). * @@ -124,7 +124,7 @@ int audio_meta_get_album(audio_meta_h audio, char **album); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -145,7 +145,7 @@ int audio_meta_get_artist(audio_meta_h audio, char **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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_artist should be released using free(). * @@ -166,7 +166,7 @@ int audio_meta_get_album_artist(audio_meta_h audio, char **album_artist); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a genre should be released using free(). * @@ -187,7 +187,7 @@ int audio_meta_get_genre(audio_meta_h audio, char **genre); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a composer should be released using free(). * @@ -208,7 +208,7 @@ int audio_meta_get_composer(audio_meta_h audio, char **composer); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a year should be released using free(). * @@ -229,7 +229,7 @@ int audio_meta_get_year(audio_meta_h audio, char **year); * @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 + * @since_tizen 2.3 * * @remarks The @a recorded_date should be released using free(). * @@ -249,7 +249,7 @@ int audio_meta_get_recorded_date(audio_meta_h audio, char **recorded_date); * @brief Gets the copyright notice of the given audio metadata. * @details 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 + * @since_tizen 2.3 * * @remarks The @a copyright should be released using free(). * @@ -270,7 +270,7 @@ int audio_meta_get_copyright(audio_meta_h audio, char **copyright); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a track_num should be released using free(). * @@ -288,7 +288,7 @@ int audio_meta_get_track_num(audio_meta_h audio, char **track_num); /** * @brief Gets the bitrate of the given audio metadata in bitrate per second. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] bit_rate The audio bitrate in bit per second [bps] @@ -303,7 +303,7 @@ int audio_meta_get_bit_rate(audio_meta_h audio, int *bit_rate); /** * @brief Gets bit per sample of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] bitpersample The audio bit per sample @@ -318,7 +318,7 @@ int audio_meta_get_bitpersample(audio_meta_h audio, int *bitpersample); /** * @brief Gets the sample rate of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] sample_rate The audio sample rate[hz] @@ -333,7 +333,7 @@ int audio_meta_get_sample_rate(audio_meta_h audio, int *sample_rate); /** * @brief Gets the channel of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] channel The channel of the audio @@ -348,7 +348,7 @@ int audio_meta_get_channel(audio_meta_h audio, int *channel); /** * @brief Gets the track duration of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] duration The audio file duration diff --git a/include/media_bookmark.h b/include/media_bookmark.h index 93d208b..5991c5b 100755 --- a/include/media_bookmark.h +++ b/include/media_bookmark.h @@ -39,7 +39,7 @@ extern "C" { /** * @brief Inserts a new bookmark in media on the specified time offset to the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -69,7 +69,7 @@ int media_bookmark_insert_to_db(const char *media_id, time_t time, const char *t /** * @brief Removes a media bookmark from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -96,7 +96,7 @@ int media_bookmark_delete_from_db(int bookmark_id); /** * @brief Gets the number of bookmarks with an optional filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] bookmark_count The count of the media bookmark @@ -149,7 +149,7 @@ int media_bookmark_foreach_bookmark_from_db(filter_h filter, media_bookmark_cb c * The media_bookmark_h is created internally and available through media bookmark foreach function such as media_info_foreach_bookmark_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_bookmark_destroy(). * @@ -174,7 +174,7 @@ int media_bookmark_clone(media_bookmark_h *dst, media_bookmark_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @@ -192,7 +192,7 @@ int media_bookmark_destroy(media_bookmark_h bookmark); /** * @brief Gets the bookmark ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @param[out] bookmark_id The ID of the media bookmark @@ -210,7 +210,7 @@ int media_bookmark_get_bookmark_id(media_bookmark_h bookmark, int *bookmark_id); * @details This function returns time offset in seconds from beginning of the movie on which bookmark * was placed. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @param[out] marked_time The bookmark time offset (in seconds) @@ -225,7 +225,7 @@ int media_bookmark_get_marked_time(media_bookmark_h bookmark, time_t *marked_tim /** * @brief Gets the media bookmark thumbnail. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * diff --git a/include/media_content.h b/include/media_content.h index 90dbc2b..5d394b2 100755 --- a/include/media_content.h +++ b/include/media_content.h @@ -50,7 +50,7 @@ extern "C" { * @brief Connects to the media content service. * @details Any media content related function call should be invoked after this function call. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @return @c 0 on success, * otherwise a negative error value @@ -69,7 +69,7 @@ int media_content_connect(void); * @details This function closes connection to the media content service. Any further media content related operation * cannot be performed after this function is called. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @return @c 0 on success, * otherwise a negative error value @@ -91,7 +91,7 @@ int media_content_disconnect(void); * If requested file does not exist on file system, information of the media file will be removed from the media DB. \n * If file information does not exist in DB, this function will be return #MEDIA_CONTENT_ERROR_INVALID_PARAMETER. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -139,7 +139,7 @@ int media_content_scan_file(const char *path); * Alternatively, you can call this function on any parent of source location and on any parent of destination location.\n * You can also call the function once, on a folder which is a parent of both source and destination.\n * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -178,7 +178,7 @@ int media_content_scan_folder(const char *path, bool is_recursive, media_scan_co /** * @brief Requests to cancel the media folder scanning. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] path The folder path * diff --git a/include/media_content_type.h b/include/media_content_type.h index 204b80c..30ae76d 100755 --- a/include/media_content_type.h +++ b/include/media_content_type.h @@ -41,7 +41,7 @@ extern "C" { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for the media file format. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n * %http://tizen.org/feature/content.scanning.others\n * If this feature is not supported on the device, #MEDIA_CONTENT_TYPE_OTHERS type file is not scanned. @@ -58,7 +58,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for media content DB update items. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */ @@ -68,7 +68,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for media content DB update types. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */ @@ -79,7 +79,7 @@ typedef enum { /** * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief Enumeration for orientation types. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/ @@ -96,7 +96,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for ordering. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/ @@ -107,7 +107,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for collations. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */ @@ -119,7 +119,7 @@ typedef enum { /** * @brief Error class. * @details Class for Media Content error -* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif +* @since_tizen 2.3 * */ #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT @@ -127,7 +127,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for a media content error. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -146,7 +146,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for a media group. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */ @@ -175,63 +175,63 @@ typedef enum { /** * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief The structure type for the Media info handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_info_s *media_info_h; /** * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE * @brief The structure type for the Media folder handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_folder_s *media_folder_h; /** * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE * @brief The structure type for the Media playlist handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_playlist_s *media_playlist_h; /** * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE * @brief The structure type for the Media tag handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_tag_s *media_tag_h; /** * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE * @brief The structure type for the Media bookmark handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_bookmark_s *media_bookmark_h; /** * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE * @brief The structure type for the Media album handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_album_s *media_album_h; /** * @ingroup CAPI_CONTENT_MEDIA_IMAGE_META_MODULE * @brief The structure type for the Image metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct image_meta_s *image_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE * @brief The structure type for the Video metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct video_meta_s *video_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE * @brief The structure type for the Audio metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct audio_meta_s *audio_meta_h; @@ -245,7 +245,7 @@ typedef struct book_meta_s *book_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE * @brief The structure type for the Media filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct filter_s *filter_h; @@ -276,7 +276,7 @@ typedef void *media_content_noti_h; * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The callback is called in a separate thread(not in the main loop). * * @param[in] error The error code @@ -292,7 +292,7 @@ typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user * @brief Called when the notification of the media DB change is subscribed. * @details The following error codes can be received: \n * #MEDIA_CONTENT_ERROR_NONE : Success \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The callback is called in a separate thread(not in the main loop). * @@ -325,7 +325,7 @@ typedef void (*media_content_db_update_cb)( * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief Called for every available media info. * @details Iterates over a list of media info. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n * The callback is called in the main loop. @@ -362,7 +362,7 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data); * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The callback is called in a separate thread(not in the main loop). * @@ -406,7 +406,7 @@ typedef void (*media_face_detection_completed_cb)(media_content_error_e error, c * @brief Called for every available media folder. * @details Iterates over a list of folders. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n * The callback is called in the main loop. @@ -428,7 +428,7 @@ typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data); * @brief Called for every playlist in the obtained list of playlists. * @details Iterates over a playlist list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n * The callback is called in the main loop. @@ -451,7 +451,7 @@ typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data); * @brief Called for every media info with playlist member ID in the obtained list of media info. * @details Iterates over playlist members. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n * The callback is called in the main loop. @@ -475,7 +475,7 @@ typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, v * @brief Called for every tag in the obtained list of tags. * @details Iterates over a list of tags. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n * The callback is called in the main loop. @@ -499,7 +499,7 @@ typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data); * @brief Called for every bookmark in the obtained list of bookmarks. * @details Iterates over a bookmark list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n * The callback is called in the main loop. @@ -520,7 +520,7 @@ typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data); * @brief Called for every album in the obtained list of groups. * @details Iterates over an album list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n * The callback is called in the main loop. @@ -543,7 +543,7 @@ typedef bool (*media_album_cb)(media_album_h album, void *user_data); * @brief Called for every group in the obtained list of groups. * @details Iterates over a media group list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks You should not free @a group_name returned by this function. \n * The callback is called in the main loop. @@ -593,7 +593,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media ID. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ID "MEDIA_ID" @@ -601,7 +601,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media full path. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_PATH "MEDIA_PATH" @@ -609,7 +609,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The file name including the extension. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME" @@ -619,7 +619,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @details There are 5 media types:\n * 0-image, 1-video, 2-sound, 3-music, 4-other\n * You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TYPE "MEDIA_TYPE" @@ -627,7 +627,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media MIME type. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE" @@ -636,7 +636,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media file size. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_SIZE "MEDIA_SIZE" @@ -644,7 +644,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The time that content file was first added to media database. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME" @@ -652,7 +652,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The last modification time provided by the file system. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME" @@ -660,7 +660,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media created time. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TIMELINE "MEDIA_TIMELINE" @@ -668,7 +668,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media thumbnail path. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH" @@ -676,7 +676,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media title get from tag or file name. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TITLE "MEDIA_TITLE" @@ -684,7 +684,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media album name. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALBUM "MEDIA_ALBUM" @@ -692,7 +692,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media artist. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ARTIST "MEDIA_ARTIST" @@ -700,7 +700,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media album artist. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST" @@ -708,7 +708,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media genre. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_GENRE "MEDIA_GENRE" @@ -716,7 +716,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media composer. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_COMPOSER "MEDIA_COMPOSER" @@ -724,7 +724,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media year. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_YEAR "MEDIA_YEAR" @@ -732,7 +732,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media recorded date. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE" @@ -740,7 +740,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media track number. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM" @@ -748,7 +748,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media duration. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DURATION "MEDIA_DURATION" @@ -756,7 +756,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media longitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_LONGITUDE "MEDIA_LONGITUDE" @@ -764,7 +764,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media latitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_LATITUDE "MEDIA_LATITUDE" @@ -772,7 +772,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media altitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALTITUDE "MEDIA_ALTITUDE" @@ -780,7 +780,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media width. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_WIDTH "MEDIA_WIDTH" @@ -788,7 +788,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media height. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_HEIGHT "MEDIA_HEIGHT" @@ -796,7 +796,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media datetaken. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DATETAKEN "MEDIA_DATETAKEN" @@ -804,7 +804,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The time to register favourite. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_FAVOURITE "MEDIA_FAVOURITE" @@ -814,7 +814,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @details There are 2 types:\n * 0-not drm, 1-drm\n * You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_IS_DRM "MEDIA_IS_DRM" @@ -823,7 +823,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media file name pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -835,7 +835,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media title pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -847,7 +847,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media album pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -859,7 +859,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media artist pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -871,7 +871,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media album artist pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -883,7 +883,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media genre pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -895,7 +895,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media composer pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -914,21 +914,21 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Folder ID. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_ID "FOLDER_ID" /** * @brief Folder full path. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_PATH "FOLDER_PATH" /** * @brief Folder base name. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_NAME "FOLDER_NAME" @@ -936,7 +936,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Folder base name pinyin. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -946,7 +946,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Playlist name. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_NAME "PLAYLIST_NAME" @@ -960,21 +960,21 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Playlist member order. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER" /** * @brief Media count in playlist. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT" /** * @brief Tag name. * @details You can use above define to set the condition of tag filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define TAG_NAME "TAG_NAME" @@ -988,14 +988,14 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media count in tag. * @details You can use above define to set the condition of tag filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT" /** * @brief Bookmark marked time. * @details You can use above define to set the condition of bookmark filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME" diff --git a/include/media_filter.h b/include/media_filter.h index 9c9b298..8cd70a2 100755 --- a/include/media_filter.h +++ b/include/media_filter.h @@ -44,7 +44,7 @@ extern "C" { * @details This function creates a media filter handle. The handle can be * used to get the filtered information based on filter properties i.e. offset, count, condition for searching and order. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a filter should be released using media_info_filter_destroy(). * @@ -67,7 +67,7 @@ int media_filter_create(filter_h *filter); * handle no longer can be used to perform any operations. A new filter handle * has to be created before the next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @@ -86,7 +86,7 @@ int media_filter_destroy(filter_h filter); * @details This function sets the @a offset and @a count for the given filter used to limit number of items returned. * For example, if you set the @a offset as @c 10 and @a count as @c 5, then only searched data from @c 10 to @c 14 will be returned when the filter is used with foreach functions. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] offset The start position of the given media filter (Starting from zero) @@ -105,7 +105,7 @@ int media_filter_set_offset(filter_h filter, int offset, int count); /** * @brief Sets the @a condition for the given @a filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] condition The condition which is used WHERE clause on a query @@ -125,7 +125,7 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con /** * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n * Therefore, @a order_keyword must include collation type and order type. \n @@ -149,7 +149,7 @@ int media_filter_set_order(filter_h filter, media_content_order_e order_type, co /** * @brief Gets the @a offset and @a count for the given @a filter used to limit the number of items returned. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] offset The start position of the given media filter (Starting from zero) @@ -168,7 +168,7 @@ int media_filter_get_offset(filter_h filter, int *offset, int *count); /** * @brief Gets the @a condition for the given @a filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a condition should be released using free(). * @@ -190,7 +190,7 @@ int media_filter_get_condition(filter_h filter, char **condition, media_content_ /** * @brief Gets the media filter's content @a order_type and @a order_keyword i.e. either descending or ascending. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a order_keyword should be released using free(). * diff --git a/include/media_folder.h b/include/media_folder.h index dac9fa7..b868cbf 100755 --- a/include/media_folder.h +++ b/include/media_folder.h @@ -42,7 +42,7 @@ extern "C" { /** * @brief Gets the count of folder for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] folder_count The count of the media folder @@ -67,7 +67,7 @@ int media_folder_get_folder_count_from_db(filter_h filter, int *folder_count); * The @a callback function will be invoked for every retrieved * folder. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks We do not recommend you call updating DB function in callback of foreach function. * @@ -96,7 +96,7 @@ int media_folder_foreach_folder_from_db(filter_h filter, media_folder_cb callbac /** * @brief Gets the count of media files for the passed @a filter in the given @a folder_id from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] folder_id The ID of the media folder * @param[in] filter The handle to the media filter @@ -122,7 +122,7 @@ int media_folder_get_media_count_from_db(const char *folder_id, filter_h filter, * meeting desired filter option and calls @a callback for * every retrieved media item. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @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 @@ -159,7 +159,7 @@ int media_folder_foreach_media_from_db(const char *folder_id, filter_h filter, m * media folder foreach function such as media_folder_foreach_folder_from_db(). To use this handle outside of these foreach functions, * use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_folder_destroy(). * @@ -183,7 +183,7 @@ int media_folder_clone(media_folder_h *dst, media_folder_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] folder The handle to the media folder * @@ -201,7 +201,7 @@ int media_folder_destroy(media_folder_h folder); /** * @brief Gets the media folder ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder_id should be released using free(). * @@ -218,7 +218,7 @@ int media_folder_get_folder_id(media_folder_h folder, char **folder_id); /** * @brief Gets the absolute path to the media folder. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -237,7 +237,7 @@ int media_folder_get_path(media_folder_h folder, char **path); /** * @brief Gets the media folder name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder_name should be released using free(). * @@ -258,7 +258,7 @@ int media_folder_get_name(media_folder_h folder, char **folder_name); * * @details This function creates a new media folder handle from the media database by the given @a folder_id. * Media folder will be created, which is filled with folder information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder should be released using media_folder_destroy(). * diff --git a/include/media_group.h b/include/media_group.h index 4586770..e9819ad 100755 --- a/include/media_group.h +++ b/include/media_group.h @@ -41,7 +41,7 @@ extern "C" { /** * @brief Gets the number of the album for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] album_count The count of the media album @@ -66,7 +66,7 @@ int media_album_get_album_count_from_db(filter_h filter, int *album_count); * The callback function will be invoked for every retrieved media album. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -92,7 +92,7 @@ int media_album_foreach_album_from_db(filter_h filter, media_album_cb callback, /** * @brief Gets the number of media info for the given album present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album_id The ID of the media album * @param[in] filter The handle to the media filter @@ -118,7 +118,7 @@ int media_album_get_media_count_from_db(int album_id, filter_h filter, int *medi * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album_id The ID of the media album * @param[in] filter The handle to the media filter @@ -149,7 +149,7 @@ int media_album_foreach_media_from_db(int album_id, filter_h filter, media_info_ * can no longer be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album The handle to the media album * @@ -172,7 +172,7 @@ int media_album_destroy(media_album_h album); * media album foreach function such as media_album_foreach_album_from_db(). To use this handle outside of these foreach functions, * use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_album_destroy(). * @@ -193,7 +193,7 @@ int media_album_clone(media_album_h *dst, media_album_h src); /** * @brief Gets the ID of the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album The handle to the media album * @param[out] album_id The ID of the media album @@ -210,7 +210,7 @@ int media_album_get_album_id(media_album_h album, int *album_id); /** * @brief Gets the name of the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_name should be released using free(). * @@ -228,7 +228,7 @@ int media_album_get_name(media_album_h album, char **album_name); /** * @brief Gets the name of the artist from the given album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -246,7 +246,7 @@ int media_album_get_artist(media_album_h album, char **artist); /** * @brief Gets the album art path from the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_art should be released using free(). * @@ -268,7 +268,7 @@ int media_album_get_album_art(media_album_h album, char **album_art); * @details This function creates a new media album handle from the media database by the given @a album_id. * Media album will be created and will be filled with the album information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using media_album_destroy(). * @@ -304,7 +304,7 @@ int media_album_get_album_from_db(int album_id, media_album_h *album); /** * @brief Gets the number of the group for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] group The type of the media group @@ -330,7 +330,7 @@ int media_group_get_group_count_from_db(filter_h filter, media_group_e group, in * The callback function will be invoked for every retrieved media group. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] group The type of the media group @@ -357,7 +357,7 @@ int media_group_foreach_group_from_db(filter_h filter, media_group_e group, medi /** * @brief Gets the count of the media info for the given media group present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] group_name The name of the media group * @param[in] group The type of the media group @@ -385,7 +385,7 @@ int media_group_get_media_count_from_db(const char *group_name, media_group_e gr * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] group_name The name of the media group * @param[in] group The type of the media group diff --git a/include/media_image.h b/include/media_image.h index 49c262f..8041193 100755 --- a/include/media_image.h +++ b/include/media_image.h @@ -41,7 +41,7 @@ extern "C" { * @brief Clones the image metadata. * @details The function copies the image metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using image_meta_destroy(). * @@ -65,7 +65,7 @@ int image_meta_clone(image_meta_h *dst, image_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @@ -83,7 +83,7 @@ int image_meta_destroy(image_meta_h image); /** * @brief Gets the ID of an image. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -101,7 +101,7 @@ int image_meta_get_media_id(image_meta_h image, char **media_id); /** * @brief Gets the image width in pixels. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] width The image width in pixels @@ -116,7 +116,7 @@ int image_meta_get_width(image_meta_h image, int *width); /** * @brief Gets the image height in pixels. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] height The image height in pixels @@ -131,7 +131,7 @@ int image_meta_get_height(image_meta_h image, int *height); /** * @brief Gets the image orientation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] orientation The image orientation @@ -146,7 +146,7 @@ int image_meta_get_orientation(image_meta_h image, media_content_orientation_e * /** * @brief Gets the image creation time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a date_taken should be released using free(). * @@ -165,7 +165,7 @@ int image_meta_get_date_taken(image_meta_h image, char **date_taken); /** * @deprecated Deprecated since 8.0. * @brief Gets the exposure time from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a exposure_time should be released using free(). * @@ -185,7 +185,7 @@ int image_meta_get_exposure_time(image_meta_h image, char **exposure_time) TIZEN /** * @deprecated Deprecated since 8.0. * @brief Gets the fnumber from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] image The handle to the image metadata * @param[out] fnumber The value of fnumber, getting from EXIF @@ -202,7 +202,7 @@ int image_meta_get_fnumber(image_meta_h image, double *fnumber) TIZEN_DEPRECATED /** * @deprecated Deprecated since 8.0. * @brief Gets the iso from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] image The handle to the image metadata * @param[out] iso The value of iso, getting from EXIF @@ -219,7 +219,7 @@ int image_meta_get_iso(image_meta_h image, int *iso) TIZEN_DEPRECATED_API; /** * @deprecated Deprecated since 8.0. * @brief Gets the model from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a model should be released using free(). * diff --git a/include/media_info.h b/include/media_info.h index d91c101..e0c0f40 100755 --- a/include/media_info.h +++ b/include/media_info.h @@ -48,7 +48,7 @@ extern "C" { * Since 5.5, if media information already exists in the media database, * this function returns the updated latest information. (Media database will be updated if necessary). * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -93,7 +93,7 @@ int media_info_insert_to_db(const char *path, media_info_h *info); * @brief Inserts content files into the media database, asynchronously. * @details This function can insert multiple content files into the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -140,7 +140,7 @@ int media_info_insert_batch_to_db(const char **path_array, unsigned int array_le * can no longer be used to perform any operations. New media info handle has to * be created before the next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @@ -162,7 +162,7 @@ int media_info_destroy(media_info_h media); * @details This function copies the media info handle from a source to the destination. * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_info_destroy(). * @@ -191,7 +191,7 @@ int media_info_clone(media_info_h *dst, media_info_h src); * @brief Gets the count of media info for the passed @a filter from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * * @param[in] filter The handle to the media filter @@ -218,7 +218,7 @@ int media_info_get_media_count_from_db(filter_h filter, int *media_count); * The @a callback function will be invoked for every retrieved media info. * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @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. @@ -251,7 +251,7 @@ int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, vo * @brief Gets the count of media tags for the passed @a filter in the given @a media_id from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -277,7 +277,7 @@ int media_info_get_tag_count_from_db(const char *media_id, filter_h filter, int * @details This function gets all the media tags associated with the given @a media_id and calls @a callback for every retrieved media tag. \n * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -306,7 +306,7 @@ int media_info_foreach_tag_from_db(const char *media_id, filter_h filter, media_ * @brief Gets the number of bookmarks for the passed @a filter in the given media ID from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -332,7 +332,7 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter, * @details This function gets all media bookmarks associated with the given media and calls @a callback for every retrieved media bookmark. * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -412,7 +412,7 @@ int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media * @brief Gets the image metadata handle for a given media info. * @details This function returns an image metadata handle retrieved from the media info. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a image should be released using image_meta_destroy(). * @@ -434,7 +434,7 @@ int media_info_get_image(media_info_h media, image_meta_h *image); * @brief Gets a video metadata handle for a given media info. * @details This function returns a video metadata handle retrieved from the media info handle. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a video should be released using video_meta_destroy(). * @@ -456,7 +456,7 @@ int media_info_get_video(media_info_h media, video_meta_h *video); * @brief Gets an audio metadata handle for a given media info. * @details This function returns an audio metadata handle retrieved from the media info handle. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a audio should be released using audio_meta_destroy(). * @@ -500,7 +500,7 @@ int media_info_get_book(media_info_h media, book_meta_h *book); /** * @brief Gets the media ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a media_id should be released using free(). * * @param[in] media The handle to the media info @@ -517,7 +517,7 @@ int media_info_get_media_id(media_info_h media, char **media_id); /** * @brief Gets the full path of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -536,7 +536,7 @@ int media_info_get_file_path(media_info_h media, char **path); /** * @brief Gets the file name including the extension of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a name should be released using free(). * @@ -554,7 +554,7 @@ int media_info_get_display_name(media_info_h media, char **name); /** * @brief Gets the content type of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] type The content type of the content file (#media_content_type_e) @@ -571,7 +571,7 @@ int media_info_get_media_type(media_info_h media, media_content_type_e *type); /** * @brief Gets the MIME type of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a mime_type should be released using free(). * @@ -589,7 +589,7 @@ int media_info_get_mime_type(media_info_h media, char **mime_type); /** * @brief Gets the content file size. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] size The content file size @@ -605,7 +605,7 @@ int media_info_get_size(media_info_h media, unsigned long long *size); /** * @brief Gets the added time of the content file. * @details The added time refers to the time that content file was first added to media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] added_time The added time to the media database @@ -621,7 +621,7 @@ int media_info_get_added_time(media_info_h media, time_t *added_time); /** * @brief Gets the modified time of the content file. * @details The modified time refers to the last modification time provided by the file system. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] time The last modification time of the content file @@ -638,7 +638,7 @@ int media_info_get_modified_time(media_info_h media, time_t *time); * @brief Gets the timeline of content file. * @details If the content file has the creation time information (like Content recorded date or Image creation date), that value is timeline. \n * Otherwise, timeline value is the same as modified time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] time The timeline of content file @@ -653,7 +653,7 @@ int media_info_get_timeline(media_info_h media, time_t *time); /** * @brief Gets the thumbnail path of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). \n * If the thumbnail extraction for the given media has not been requested yet, this function returns NULL. \n @@ -676,7 +676,7 @@ int media_info_get_thumbnail_path(media_info_h media, char **path); * @brief Gets the description of content file. * @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 + * @since_tizen 2.3 * * @remarks The @a description should be released using free(). * @@ -694,7 +694,7 @@ int media_info_get_description(media_info_h media, char **description); /** * @brief Gets the longitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] longitude The longitude of the content file @@ -709,7 +709,7 @@ int media_info_get_longitude(media_info_h media, double *longitude); /** * @brief Gets the latitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] latitude The latitude of the content file @@ -725,7 +725,7 @@ int media_info_get_latitude(media_info_h media, double* latitude); /** * @brief Gets the altitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] altitude The altitude of the content file @@ -740,7 +740,7 @@ int media_info_get_altitude(media_info_h media, double* altitude); /** * @brief Gets the rating of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] rating The rating of the content file @@ -755,7 +755,7 @@ int media_info_get_rating(media_info_h media, int *rating); /** * @brief Gets the favorite status of content file which User set. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] favorite @c true if content file is set as favorite, @@ -775,7 +775,7 @@ int media_info_get_favorite(media_info_h media, bool* favorite); * @brief Gets the title of content file. * @details If the content file does not have a title, this method returns the filename without the extension. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a title should be released using free(). * @@ -793,7 +793,7 @@ int media_info_get_title(media_info_h media, char **title); /** * @brief Checks whether the media is protected via DRM. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] is_drm @c true if media is DRM media, @@ -829,7 +829,7 @@ int media_info_is_360_content(media_info_h media, bool *is_360); * @details This function creates a new media handle from the media database by the given @a media_id. * Media info will be created and filled with information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media should be released using media_info_destroy(). * @@ -890,7 +890,7 @@ int media_info_get_media_from_db_by_path(const char *media_path, media_info_h *m * So, If you use it in order parameter, you can sort the order of the time was a favorite. \n * Or, if you use it in condition parameter, you can get the result of the favorite media. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[in] favorite Set @c true to set the media info as favorite, @@ -909,7 +909,7 @@ int media_info_set_favorite(media_info_h media, bool favorite); * * @details The function updates the given media info in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/content.write * @@ -945,7 +945,7 @@ int media_info_update_to_db(media_info_h media); * If the source path and destination path are the same, then this function does nothing. * If you want to refresh media information, you should use media_content_scan_file() function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n diff --git a/include/media_playlist.h b/include/media_playlist.h index 6cbfe4a..a81cc77 100755 --- a/include/media_playlist.h +++ b/include/media_playlist.h @@ -39,7 +39,7 @@ extern "C" { /** * @brief Gets the number of playlists for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] playlist_count The count of the media playlist @@ -64,7 +64,7 @@ int media_playlist_get_playlist_count_from_db(filter_h filter, int *playlist_cou * The callback function will be invoked for every retrieved media playlist. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -90,7 +90,7 @@ int media_playlist_foreach_playlist_from_db(filter_h filter, media_playlist_cb c /** * @brief Gets the number of the media info for the given playlist present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist_id The ID of the media playlist * @param[in] filter The handle to the media filter @@ -116,7 +116,7 @@ int media_playlist_get_media_count_from_db(int playlist_id, filter_h filter, int * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist_id The ID of the media playlist * @param[in] filter The handle to the media filter @@ -143,7 +143,7 @@ int media_playlist_foreach_media_from_db(int playlist_id, filter_h filter, playl /** * @brief Inserts a new playlist with the given name into the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -174,7 +174,7 @@ int media_playlist_insert_to_db(const char *name, media_playlist_h *playlist); /** * @brief Deletes the given playlist from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -205,7 +205,7 @@ int media_playlist_delete_from_db(int playlist_id); * @details This function creates a new media playlist handle from the media database by the given @a playlist_id. * The media playlist will be created and will be filled with the playlist information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a playlist should be released using media_playlist_destroy(). * @@ -234,7 +234,7 @@ int media_playlist_get_playlist_from_db(int playlist_id, media_playlist_h *playl * handle no longer can be used to perform any operations. A new handle has to * be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @@ -257,7 +257,7 @@ int media_playlist_destroy(media_playlist_h playlist); * media playlist foreach function such as media_playlist_foreach_playlist_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_playlist_destroy(). * @@ -278,7 +278,7 @@ int media_playlist_clone(media_playlist_h *dst, media_playlist_h src); /** * @brief Gets the media playlist ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[out] playlist_id The ID of the media playlist @@ -293,7 +293,7 @@ int media_playlist_get_playlist_id(media_playlist_h playlist, int *playlist_id); /** * @brief Gets a name of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a playlist_name should be released using free(). * @@ -311,7 +311,7 @@ int media_playlist_get_name(media_playlist_h playlist, char **playlist_name); /** * @brief Sets the name of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_name The name of the media playlist @@ -330,7 +330,7 @@ int media_playlist_set_name(media_playlist_h playlist, const char *playlist_name /** * @brief Gets a thumbnail path of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -348,7 +348,7 @@ int media_playlist_get_thumbnail_path(media_playlist_h playlist, char **path); /** * @brief Sets the thumbnail path of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] path The path of the thumbnail @@ -367,7 +367,7 @@ int media_playlist_set_thumbnail_path(media_playlist_h playlist, const char *pat /** * @brief Sets the playing order in the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -386,7 +386,7 @@ int media_playlist_set_play_order(media_playlist_h playlist, int playlist_member /** * @brief Adds a new media info to the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] media_id The media ID @@ -408,7 +408,7 @@ int media_playlist_add_media(media_playlist_h playlist, const char *media_id); /** * @brief Removes the playlist members related with the media from the given playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -430,7 +430,7 @@ int media_playlist_remove_media(media_playlist_h playlist, int playlist_member_i /** * @brief Gets the played order of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -453,7 +453,7 @@ int media_playlist_get_play_order(media_playlist_h playlist, int playlist_member * media_playlist_update_to_db() function should be called so as to update * the given playlist attributes in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -486,7 +486,7 @@ int media_playlist_update_to_db(media_playlist_h playlist); /** * @brief Imports the playlist from m3u playlist file. * @details This function reads a playlist from the m3u playlist file and insert into the db. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -516,7 +516,7 @@ int media_playlist_import_from_file(const char *playlist_name, const char *path, /** * @brief Exports the playlist to m3u playlist file. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks %http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. \n * %http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. diff --git a/include/media_tag.h b/include/media_tag.h index 1b7cec3..91d110e 100755 --- a/include/media_tag.h +++ b/include/media_tag.h @@ -41,7 +41,7 @@ extern "C" { /** * @brief Inserts a new tag in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -73,7 +73,7 @@ int media_tag_insert_to_db(const char *tag_name, media_tag_h *tag); /** * @brief Deletes a given tag from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -100,7 +100,7 @@ int media_tag_delete_from_db(int tag_id); /** * @brief Gets the count of the tag for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] tag_count The count of the media tag @@ -125,7 +125,7 @@ int media_tag_get_tag_count_from_db(filter_h filter, int *tag_count); * and calls a registered callback function for every retrieved tag. * If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -151,7 +151,7 @@ int media_tag_foreach_tag_from_db(filter_h filter, media_tag_cb callback, void * /** * @brief Gets the number of media files for the passed @a filter in the given @a tag_id from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag_id The ID of the media tag * @param[in] filter The handle to the media filter @@ -177,7 +177,7 @@ int media_tag_get_media_count_from_db(int tag_id, filter_h filter, int *media_co * meeting a desired @a filter and calls a registered callback function for * every retrieved media item. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag_id The ID of the media tag * @param[in] filter The handle to the media filter @@ -209,7 +209,7 @@ int media_tag_foreach_media_from_db(int tag_id, filter_h filter, media_info_cb c * such as media_tag_foreach_tag_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_tag_destroy(). * @@ -232,7 +232,7 @@ int media_tag_clone(media_tag_h *dst, media_tag_h src); * @details This function frees all resources related to the tag handle. The tag handle can no longer * be used for any operations. A new tag handle has to be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @@ -251,7 +251,7 @@ int media_tag_destroy(media_tag_h tag); /** * @brief Gets the media tag ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[out] tag_id The ID of the media tag @@ -266,7 +266,7 @@ int media_tag_get_tag_id(media_tag_h tag, int *tag_id); /** * @brief Gets the tag name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a tag_name should be released using free(). * @@ -288,7 +288,7 @@ int media_tag_get_name(media_tag_h tag, char **tag_name); * @details This function creates a new media tag handle from the media database by the given @a tag_id. * Media tag will be created and will be filled with tag information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a tag should be released using media_tag_destroy(). * @@ -313,7 +313,7 @@ int media_tag_get_tag_from_db(int tag_id, media_tag_h *tag); /** * @brief Adds a new media info to the tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] media_id The media ID @@ -335,7 +335,7 @@ int media_tag_add_media(media_tag_h tag, const char *media_id); /** * @brief Removes the media info from the given tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] media_id The media ID @@ -357,7 +357,7 @@ int media_tag_remove_media(media_tag_h tag, const char *media_id); /** * @brief Sets the name of the tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] tag_name The name of the media tag @@ -380,7 +380,7 @@ int media_tag_set_name(media_tag_h tag, const char *tag_name); * database. For example, after using media_tag_set_name() for setting the name of the tag, the media_tag_update_to_db() function should be called so as to update * the given tag attributes in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write diff --git a/include/media_video.h b/include/media_video.h index c969990..75756b5 100755 --- a/include/media_video.h +++ b/include/media_video.h @@ -40,7 +40,7 @@ extern "C" { * @brief Clones the video metadata. * @details This function copies the video metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using video_meta_destroy(). * @@ -64,7 +64,7 @@ int video_meta_clone(video_meta_h *dst, video_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @@ -82,7 +82,7 @@ int video_meta_destroy(video_meta_h video); /** * @brief Gets the ID of the media of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -103,7 +103,7 @@ int video_meta_get_media_id(video_meta_h video, char **media_id); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using free(). * @@ -124,7 +124,7 @@ int video_meta_get_album(video_meta_h video, char **album); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -145,7 +145,7 @@ int video_meta_get_artist(video_meta_h video, char **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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_artist should be released using free(). * @@ -166,7 +166,7 @@ int video_meta_get_album_artist(video_meta_h video, char **album_artist); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a genre should be released using free(). * @@ -187,7 +187,7 @@ int video_meta_get_genre(video_meta_h video, char **genre); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a composer should be released using free(). * @@ -208,7 +208,7 @@ int video_meta_get_composer(video_meta_h video, char **composer); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a year should be released using free(). * @@ -229,7 +229,7 @@ int video_meta_get_year(video_meta_h video, char **year); * @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 + * @since_tizen 2.3 * * @remarks The @a recorded_date should be released using free(). * @@ -250,7 +250,7 @@ int video_meta_get_recorded_date(video_meta_h video, char **recorded_date); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a copyright should be released using free(). * @@ -271,7 +271,7 @@ int video_meta_get_copyright(video_meta_h video, char **copyright); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a track_num should be released using free(). * @@ -289,7 +289,7 @@ int video_meta_get_track_num(video_meta_h video, char **track_num); /** * @brief Gets the bitrate of the given video metadata in bitrate per second. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] bit_rate The video bit rate in bit per second [bps] @@ -304,7 +304,7 @@ int video_meta_get_bit_rate(video_meta_h video, int *bit_rate); /** * @brief Gets the track duration of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] duration The video duration in milliseconds @@ -319,7 +319,7 @@ int video_meta_get_duration(video_meta_h video, int *duration); /** * @brief Gets the width of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] width The video width in pixels @@ -334,7 +334,7 @@ int video_meta_get_width(video_meta_h video, int *width); /** * @brief Gets the height of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] height The video height in pixels diff --git a/include_product/media_audio.h b/include_product/media_audio.h index 9ab5009..abfe6b8 100755 --- a/include_product/media_audio.h +++ b/include_product/media_audio.h @@ -40,7 +40,7 @@ extern "C" { * @brief Clones the audio metadata. * @details This function copies the audio metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using audio_meta_destroy(). * @@ -64,7 +64,7 @@ int audio_meta_clone(audio_meta_h *dst, audio_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @@ -82,7 +82,7 @@ int audio_meta_destroy(audio_meta_h audio); /** * @brief Gets the ID of the media of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -103,7 +103,7 @@ int audio_meta_get_media_id(audio_meta_h audio, char **media_id); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using free(). * @@ -124,7 +124,7 @@ int audio_meta_get_album(audio_meta_h audio, char **album); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -145,7 +145,7 @@ int audio_meta_get_artist(audio_meta_h audio, char **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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_artist should be released using free(). * @@ -166,7 +166,7 @@ int audio_meta_get_album_artist(audio_meta_h audio, char **album_artist); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a genre should be released using free(). * @@ -187,7 +187,7 @@ int audio_meta_get_genre(audio_meta_h audio, char **genre); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a composer should be released using free(). * @@ -208,7 +208,7 @@ int audio_meta_get_composer(audio_meta_h audio, char **composer); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a year should be released using free(). * @@ -229,7 +229,7 @@ int audio_meta_get_year(audio_meta_h audio, char **year); * @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 + * @since_tizen 2.3 * * @remarks The @a recorded_date should be released using free(). * @@ -249,7 +249,7 @@ int audio_meta_get_recorded_date(audio_meta_h audio, char **recorded_date); * @brief Gets the copyright notice of the given audio metadata. * @details 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 + * @since_tizen 2.3 * * @remarks The @a copyright should be released using free(). * @@ -270,7 +270,7 @@ int audio_meta_get_copyright(audio_meta_h audio, char **copyright); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a track_num should be released using free(). * @@ -288,7 +288,7 @@ int audio_meta_get_track_num(audio_meta_h audio, char **track_num); /** * @brief Gets the bitrate of the given audio metadata in bitrate per second. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] bit_rate The audio bitrate in bit per second [bps] @@ -303,7 +303,7 @@ int audio_meta_get_bit_rate(audio_meta_h audio, int *bit_rate); /** * @brief Gets bit per sample of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] bitpersample The audio bit per sample @@ -318,7 +318,7 @@ int audio_meta_get_bitpersample(audio_meta_h audio, int *bitpersample); /** * @brief Gets the sample rate of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] sample_rate The audio sample rate[hz] @@ -333,7 +333,7 @@ int audio_meta_get_sample_rate(audio_meta_h audio, int *sample_rate); /** * @brief Gets the channel of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] channel The channel of the audio @@ -348,7 +348,7 @@ int audio_meta_get_channel(audio_meta_h audio, int *channel); /** * @brief Gets the track duration of the given audio metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] audio The handle to the audio metadata * @param[out] duration The audio file duration diff --git a/include_product/media_bookmark.h b/include_product/media_bookmark.h index 93d208b..5991c5b 100755 --- a/include_product/media_bookmark.h +++ b/include_product/media_bookmark.h @@ -39,7 +39,7 @@ extern "C" { /** * @brief Inserts a new bookmark in media on the specified time offset to the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -69,7 +69,7 @@ int media_bookmark_insert_to_db(const char *media_id, time_t time, const char *t /** * @brief Removes a media bookmark from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -96,7 +96,7 @@ int media_bookmark_delete_from_db(int bookmark_id); /** * @brief Gets the number of bookmarks with an optional filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] bookmark_count The count of the media bookmark @@ -149,7 +149,7 @@ int media_bookmark_foreach_bookmark_from_db(filter_h filter, media_bookmark_cb c * The media_bookmark_h is created internally and available through media bookmark foreach function such as media_info_foreach_bookmark_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_bookmark_destroy(). * @@ -174,7 +174,7 @@ int media_bookmark_clone(media_bookmark_h *dst, media_bookmark_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @@ -192,7 +192,7 @@ int media_bookmark_destroy(media_bookmark_h bookmark); /** * @brief Gets the bookmark ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @param[out] bookmark_id The ID of the media bookmark @@ -210,7 +210,7 @@ int media_bookmark_get_bookmark_id(media_bookmark_h bookmark, int *bookmark_id); * @details This function returns time offset in seconds from beginning of the movie on which bookmark * was placed. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] bookmark The handle to the media bookmark * @param[out] marked_time The bookmark time offset (in seconds) @@ -225,7 +225,7 @@ int media_bookmark_get_marked_time(media_bookmark_h bookmark, time_t *marked_tim /** * @brief Gets the media bookmark thumbnail. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * diff --git a/include_product/media_content.h b/include_product/media_content.h index 604b692..d084f46 100755 --- a/include_product/media_content.h +++ b/include_product/media_content.h @@ -51,7 +51,7 @@ extern "C" { * @brief Connects to the media content service. * @details Any media content related function call should be invoked after this function call. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @return @c 0 on success, * otherwise a negative error value @@ -70,7 +70,7 @@ int media_content_connect(void); * @details This function closes connection to the media content service. Any further media content related operation * cannot be performed after this function is called. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @return @c 0 on success, * otherwise a negative error value @@ -92,7 +92,7 @@ int media_content_disconnect(void); * If requested file does not exist on file system, information of the media file will be removed from the media DB. \n * If file information does not exist in DB, this function will be return #MEDIA_CONTENT_ERROR_INVALID_PARAMETER. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -140,7 +140,7 @@ int media_content_scan_file(const char *path); * Alternatively, you can call this function on any parent of source location and on any parent of destination location.\n * You can also call the function once, on a folder which is a parent of both source and destination.\n * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -179,7 +179,7 @@ int media_content_scan_folder(const char *path, bool is_recursive, media_scan_co /** * @brief Requests to cancel the media folder scanning. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] path The folder path * diff --git a/include_product/media_content_product.h b/include_product/media_content_product.h index 4107636..2e1e2c6 100755 --- a/include_product/media_content_product.h +++ b/include_product/media_content_product.h @@ -158,7 +158,7 @@ int media_folder_reset_scan_status(const char *storage_uuid, const char* path); /** * @brief Sets the folder name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] folder The handle to the media folder * @param[in] name The name of the media folder @@ -179,7 +179,7 @@ int media_folder_set_name(media_folder_h folder, const char *name); * @details The function updates the given media folder in the media database. The function should be called after any change in folder attributes, to be updated to the media * database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -266,7 +266,7 @@ int media_storage_get_scan_status(const char *storage_uuid, media_storage_scan_s * The @a callback function will be invoked for every retrieved media storage. * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -295,7 +295,7 @@ int media_storage_foreach_storage_from_db(filter_h filter, media_storage_cb call * can no longer be used to perform any operations. New media storage handle has to * be created before the next usage. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] storage The media storage handle * @@ -319,7 +319,7 @@ int media_storage_destroy(media_storage_h storage); * available through media storage foreach function such as media_storage_foreach_storage_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a dst should be released using media_storage_destroy(). * @@ -341,7 +341,7 @@ int media_storage_clone(media_storage_h *dst, media_storage_h src); /** * @brief Gets the storage id of media storage. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a storage_id should be released using free(). * @@ -359,7 +359,7 @@ int media_storage_get_id(media_storage_h storage, char **storage_id); /** * @brief Gets the storage path of media storage. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a storage_path should be released using free(). * diff --git a/include_product/media_content_type.h b/include_product/media_content_type.h index 0c98464..d6235ff 100755 --- a/include_product/media_content_type.h +++ b/include_product/media_content_type.h @@ -41,7 +41,7 @@ extern "C" { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for the media file format. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n * %http://tizen.org/feature/content.scanning.others\n * If this feature is not supported on the device, #MEDIA_CONTENT_TYPE_OTHERS type file is not scanned. @@ -63,7 +63,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for media content DB update items. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */ @@ -74,7 +74,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for media content DB update types. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */ @@ -85,7 +85,7 @@ typedef enum { /** * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief Enumeration for orientation types. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/ @@ -102,7 +102,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for ordering. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/ @@ -113,7 +113,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for collations. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */ @@ -125,7 +125,7 @@ typedef enum { /** * @brief Error class. * @details Class for Media Content error -* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif +* @since_tizen 2.3 * */ #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT @@ -133,7 +133,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for a media content error. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -152,7 +152,7 @@ typedef enum { /** * @ingroup CAPI_MEDIA_CONTENT_MODULE * @brief Enumeration for a media group. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */ @@ -242,70 +242,70 @@ typedef struct { * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE * @deprecated Deprecated since 5.0. * @brief The structure type for the Media storage handle. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 */ typedef void *media_storage_h; /** * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief The structure type for the Media info handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_info_s *media_info_h; /** * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE * @brief The structure type for the Media folder handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_folder_s *media_folder_h; /** * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE * @brief The structure type for the Media playlist handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_playlist_s *media_playlist_h; /** * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE * @brief The structure type for the Media tag handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_tag_s *media_tag_h; /** * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE * @brief The structure type for the Media bookmark handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_bookmark_s *media_bookmark_h; /** * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE * @brief The structure type for the Media album handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct media_album_s *media_album_h; /** * @ingroup CAPI_CONTENT_MEDIA_IMAGE_META_MODULE * @brief The structure type for the Image metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct image_meta_s *image_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE * @brief The structure type for the Video metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct video_meta_s *video_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE * @brief The structure type for the Audio metadata handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct audio_meta_s *audio_meta_h; @@ -319,7 +319,7 @@ typedef struct book_meta_s *book_meta_h; /** * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE * @brief The structure type for the Media filter handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct filter_s *filter_h; @@ -350,7 +350,7 @@ typedef void *media_content_noti_h; * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The callback is called in a separate thread(not in the main loop). * * @param[in] error The error code @@ -366,7 +366,7 @@ typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user * @brief Called when the notification of the media DB change is subscribed. * @details The following error codes can be received: \n * #MEDIA_CONTENT_ERROR_NONE : Success \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The callback is called in a separate thread(not in the main loop). * @@ -399,7 +399,7 @@ typedef void (*media_content_db_update_cb)( * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE * @brief Called for every available media info. * @details Iterates over a list of media info. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n * The callback is called in the main loop. @@ -436,7 +436,7 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data); * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The callback is called in a separate thread(not in the main loop). * @@ -480,7 +480,7 @@ typedef void (*media_face_detection_completed_cb)(media_content_error_e error, c * @brief Called for every available media folder. * @details Iterates over a list of folders. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n * The callback is called in the main loop. @@ -502,7 +502,7 @@ typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data); * @brief Called for every playlist in the obtained list of playlists. * @details Iterates over a playlist list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n * The callback is called in the main loop. @@ -525,7 +525,7 @@ typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data); * @brief Called for every media info with playlist member ID in the obtained list of media info. * @details Iterates over playlist members. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n * The callback is called in the main loop. @@ -549,7 +549,7 @@ typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, v * @brief Called for every tag in the obtained list of tags. * @details Iterates over a list of tags. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n * The callback is called in the main loop. @@ -573,7 +573,7 @@ typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data); * @brief Called for every bookmark in the obtained list of bookmarks. * @details Iterates over a bookmark list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n * The callback is called in the main loop. @@ -594,7 +594,7 @@ typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data); * @brief Called for every album in the obtained list of groups. * @details Iterates over an album list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n * The callback is called in the main loop. @@ -617,7 +617,7 @@ typedef bool (*media_album_cb)(media_album_h album, void *user_data); * @brief Called for every group in the obtained list of groups. * @details Iterates over a media group list. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks You should not free @a group_name returned by this function. \n * The callback is called in the main loop. @@ -638,7 +638,7 @@ typedef bool (*media_group_cb)(const char *group_name, void *user_data); * @brief Called for every storage in the obtained list of storages. * @details Iterates over a media storage list. * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks You should not destroy @a storage returned by this function. \n * The callback is called in the main loop. @@ -688,7 +688,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media ID. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ID "MEDIA_ID" @@ -696,7 +696,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media full path. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_PATH "MEDIA_PATH" @@ -704,7 +704,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The file name including the extension. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME" @@ -714,7 +714,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @details There are 5 media types:\n * 0-image, 1-video, 2-sound, 3-music, 4-other\n * You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TYPE "MEDIA_TYPE" @@ -722,7 +722,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media MIME type. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE" @@ -731,7 +731,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media file size. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_SIZE "MEDIA_SIZE" @@ -739,7 +739,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The time that content file was first added to media database. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME" @@ -747,7 +747,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The last modification time provided by the file system. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME" @@ -755,7 +755,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media created time. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TIMELINE "MEDIA_TIMELINE" @@ -763,7 +763,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media thumbnail path. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH" @@ -771,7 +771,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media title get from tag or file name. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TITLE "MEDIA_TITLE" @@ -779,7 +779,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media album name. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALBUM "MEDIA_ALBUM" @@ -787,7 +787,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media artist. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ARTIST "MEDIA_ARTIST" @@ -795,7 +795,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media album artist. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST" @@ -803,7 +803,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media genre. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_GENRE "MEDIA_GENRE" @@ -811,7 +811,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media composer. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_COMPOSER "MEDIA_COMPOSER" @@ -819,7 +819,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media year. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_YEAR "MEDIA_YEAR" @@ -827,7 +827,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media recorded date. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE" @@ -835,7 +835,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media track number. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM" @@ -843,7 +843,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media duration. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DURATION "MEDIA_DURATION" @@ -851,7 +851,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media longitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_LONGITUDE "MEDIA_LONGITUDE" @@ -859,7 +859,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media latitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_LATITUDE "MEDIA_LATITUDE" @@ -867,7 +867,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media altitude. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_ALTITUDE "MEDIA_ALTITUDE" @@ -875,7 +875,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media width. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_WIDTH "MEDIA_WIDTH" @@ -883,7 +883,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media height. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_HEIGHT "MEDIA_HEIGHT" @@ -891,7 +891,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media datetaken. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_DATETAKEN "MEDIA_DATETAKEN" @@ -899,7 +899,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief The time to register favourite. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_FAVOURITE "MEDIA_FAVOURITE" @@ -909,7 +909,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @details There are 2 types:\n * 0-not drm, 1-drm\n * You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * */ #define MEDIA_IS_DRM "MEDIA_IS_DRM" @@ -918,7 +918,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media file name pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -930,7 +930,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media title pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -942,7 +942,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media album pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -954,7 +954,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media artist pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -966,7 +966,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media album artist pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -978,7 +978,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media genre pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -990,7 +990,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Media composer pinyin. * @details You can use above define to set the condition of media filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -1009,21 +1009,21 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Folder ID. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_ID "FOLDER_ID" /** * @brief Folder full path. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_PATH "FOLDER_PATH" /** * @brief Folder base name. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define FOLDER_NAME "FOLDER_NAME" @@ -1031,7 +1031,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); * @deprecated Deprecated since 7.0. * @brief Folder base name pinyin. * @details You can use above define to set the condition of folder filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks Since 4.0, this keyword is related to the following feature:\n * - %http://tizen.org/feature/content.filter.pinyin\n * If this feature is not supported on the device, PINYIN search does not work. @@ -1041,7 +1041,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Playlist name. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_NAME "PLAYLIST_NAME" @@ -1055,21 +1055,21 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Playlist member order. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER" /** * @brief Media count in playlist. * @details You can use above define to set the condition of playlist filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT" /** * @brief Tag name. * @details You can use above define to set the condition of tag filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define TAG_NAME "TAG_NAME" @@ -1083,14 +1083,14 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data); /** * @brief Media count in tag. * @details You can use above define to set the condition of tag filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT" /** * @brief Bookmark marked time. * @details You can use above define to set the condition of bookmark filter and order keyword. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME" diff --git a/include_product/media_filter.h b/include_product/media_filter.h index eacf88b..2ea0b72 100755 --- a/include_product/media_filter.h +++ b/include_product/media_filter.h @@ -44,7 +44,7 @@ extern "C" { * @details This function creates a media filter handle. The handle can be * used to get the filtered information based on filter properties i.e. offset, count, condition for searching and order. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a filter should be released using media_info_filter_destroy(). * @@ -67,7 +67,7 @@ int media_filter_create(filter_h *filter); * handle no longer can be used to perform any operations. A new filter handle * has to be created before the next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @@ -86,7 +86,7 @@ int media_filter_destroy(filter_h filter); * @details This function sets the @a offset and @a count for the given filter used to limit number of items returned. * For example, if you set the @a offset as @c 10 and @a count as @c 5, then only searched data from @c 10 to @c 14 will be returned when the filter is used with foreach functions. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] offset The start position of the given media filter (Starting from zero) @@ -105,7 +105,7 @@ int media_filter_set_offset(filter_h filter, int offset, int count); /** * @brief Sets the @a condition for the given @a filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] condition The condition which is used WHERE clause on a query @@ -125,7 +125,7 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con /** * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n * Therefore, @a order_keyword must include collation type and order type. \n @@ -151,7 +151,7 @@ int media_filter_set_order(filter_h filter, media_content_order_e order_type, co * @brief Sets the @a storage_id for the given @a filter. * @details You can use this function when you want to search items only in the specific storage * - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] filter The handle to the media filter * @param[in] storage_id The ID of the media storage @@ -170,7 +170,7 @@ int media_filter_set_storage(filter_h filter, const char *storage_id); /** * @brief Gets the @a offset and @a count for the given @a filter used to limit the number of items returned. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] offset The start position of the given media filter (Starting from zero) @@ -189,7 +189,7 @@ int media_filter_get_offset(filter_h filter, int *offset, int *count); /** * @brief Gets the @a condition for the given @a filter. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a condition should be released using free(). * @@ -211,7 +211,7 @@ int media_filter_get_condition(filter_h filter, char **condition, media_content_ /** * @brief Gets the media filter's content @a order_type and @a order_keyword i.e. either descending or ascending. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a order_keyword should be released using free(). * diff --git a/include_product/media_folder.h b/include_product/media_folder.h index dac9fa7..b868cbf 100755 --- a/include_product/media_folder.h +++ b/include_product/media_folder.h @@ -42,7 +42,7 @@ extern "C" { /** * @brief Gets the count of folder for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] folder_count The count of the media folder @@ -67,7 +67,7 @@ int media_folder_get_folder_count_from_db(filter_h filter, int *folder_count); * The @a callback function will be invoked for every retrieved * folder. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks We do not recommend you call updating DB function in callback of foreach function. * @@ -96,7 +96,7 @@ int media_folder_foreach_folder_from_db(filter_h filter, media_folder_cb callbac /** * @brief Gets the count of media files for the passed @a filter in the given @a folder_id from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] folder_id The ID of the media folder * @param[in] filter The handle to the media filter @@ -122,7 +122,7 @@ int media_folder_get_media_count_from_db(const char *folder_id, filter_h filter, * meeting desired filter option and calls @a callback for * every retrieved media item. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @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 @@ -159,7 +159,7 @@ int media_folder_foreach_media_from_db(const char *folder_id, filter_h filter, m * media folder foreach function such as media_folder_foreach_folder_from_db(). To use this handle outside of these foreach functions, * use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_folder_destroy(). * @@ -183,7 +183,7 @@ int media_folder_clone(media_folder_h *dst, media_folder_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] folder The handle to the media folder * @@ -201,7 +201,7 @@ int media_folder_destroy(media_folder_h folder); /** * @brief Gets the media folder ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder_id should be released using free(). * @@ -218,7 +218,7 @@ int media_folder_get_folder_id(media_folder_h folder, char **folder_id); /** * @brief Gets the absolute path to the media folder. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -237,7 +237,7 @@ int media_folder_get_path(media_folder_h folder, char **path); /** * @brief Gets the media folder name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder_name should be released using free(). * @@ -258,7 +258,7 @@ int media_folder_get_name(media_folder_h folder, char **folder_name); * * @details This function creates a new media folder handle from the media database by the given @a folder_id. * Media folder will be created, which is filled with folder information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a folder should be released using media_folder_destroy(). * diff --git a/include_product/media_group.h b/include_product/media_group.h index 4586770..e9819ad 100755 --- a/include_product/media_group.h +++ b/include_product/media_group.h @@ -41,7 +41,7 @@ extern "C" { /** * @brief Gets the number of the album for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] album_count The count of the media album @@ -66,7 +66,7 @@ int media_album_get_album_count_from_db(filter_h filter, int *album_count); * The callback function will be invoked for every retrieved media album. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -92,7 +92,7 @@ int media_album_foreach_album_from_db(filter_h filter, media_album_cb callback, /** * @brief Gets the number of media info for the given album present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album_id The ID of the media album * @param[in] filter The handle to the media filter @@ -118,7 +118,7 @@ int media_album_get_media_count_from_db(int album_id, filter_h filter, int *medi * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album_id The ID of the media album * @param[in] filter The handle to the media filter @@ -149,7 +149,7 @@ int media_album_foreach_media_from_db(int album_id, filter_h filter, media_info_ * can no longer be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album The handle to the media album * @@ -172,7 +172,7 @@ int media_album_destroy(media_album_h album); * media album foreach function such as media_album_foreach_album_from_db(). To use this handle outside of these foreach functions, * use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_album_destroy(). * @@ -193,7 +193,7 @@ int media_album_clone(media_album_h *dst, media_album_h src); /** * @brief Gets the ID of the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] album The handle to the media album * @param[out] album_id The ID of the media album @@ -210,7 +210,7 @@ int media_album_get_album_id(media_album_h album, int *album_id); /** * @brief Gets the name of the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_name should be released using free(). * @@ -228,7 +228,7 @@ int media_album_get_name(media_album_h album, char **album_name); /** * @brief Gets the name of the artist from the given album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -246,7 +246,7 @@ int media_album_get_artist(media_album_h album, char **artist); /** * @brief Gets the album art path from the album. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_art should be released using free(). * @@ -268,7 +268,7 @@ int media_album_get_album_art(media_album_h album, char **album_art); * @details This function creates a new media album handle from the media database by the given @a album_id. * Media album will be created and will be filled with the album information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using media_album_destroy(). * @@ -304,7 +304,7 @@ int media_album_get_album_from_db(int album_id, media_album_h *album); /** * @brief Gets the number of the group for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] group The type of the media group @@ -330,7 +330,7 @@ int media_group_get_group_count_from_db(filter_h filter, media_group_e group, in * The callback function will be invoked for every retrieved media group. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] group The type of the media group @@ -357,7 +357,7 @@ int media_group_foreach_group_from_db(filter_h filter, media_group_e group, medi /** * @brief Gets the count of the media info for the given media group present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] group_name The name of the media group * @param[in] group The type of the media group @@ -385,7 +385,7 @@ int media_group_get_media_count_from_db(const char *group_name, media_group_e gr * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] group_name The name of the media group * @param[in] group The type of the media group diff --git a/include_product/media_image.h b/include_product/media_image.h index 49c262f..8041193 100755 --- a/include_product/media_image.h +++ b/include_product/media_image.h @@ -41,7 +41,7 @@ extern "C" { * @brief Clones the image metadata. * @details The function copies the image metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using image_meta_destroy(). * @@ -65,7 +65,7 @@ int image_meta_clone(image_meta_h *dst, image_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @@ -83,7 +83,7 @@ int image_meta_destroy(image_meta_h image); /** * @brief Gets the ID of an image. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -101,7 +101,7 @@ int image_meta_get_media_id(image_meta_h image, char **media_id); /** * @brief Gets the image width in pixels. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] width The image width in pixels @@ -116,7 +116,7 @@ int image_meta_get_width(image_meta_h image, int *width); /** * @brief Gets the image height in pixels. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] height The image height in pixels @@ -131,7 +131,7 @@ int image_meta_get_height(image_meta_h image, int *height); /** * @brief Gets the image orientation. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] image The handle to the image metadata * @param[out] orientation The image orientation @@ -146,7 +146,7 @@ int image_meta_get_orientation(image_meta_h image, media_content_orientation_e * /** * @brief Gets the image creation time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a date_taken should be released using free(). * @@ -165,7 +165,7 @@ int image_meta_get_date_taken(image_meta_h image, char **date_taken); /** * @deprecated Deprecated since 8.0. * @brief Gets the exposure time from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a exposure_time should be released using free(). * @@ -185,7 +185,7 @@ int image_meta_get_exposure_time(image_meta_h image, char **exposure_time) TIZEN /** * @deprecated Deprecated since 8.0. * @brief Gets the fnumber from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] image The handle to the image metadata * @param[out] fnumber The value of fnumber, getting from EXIF @@ -202,7 +202,7 @@ int image_meta_get_fnumber(image_meta_h image, double *fnumber) TIZEN_DEPRECATED /** * @deprecated Deprecated since 8.0. * @brief Gets the iso from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @param[in] image The handle to the image metadata * @param[out] iso The value of iso, getting from EXIF @@ -219,7 +219,7 @@ int image_meta_get_iso(image_meta_h image, int *iso) TIZEN_DEPRECATED_API; /** * @deprecated Deprecated since 8.0. * @brief Gets the model from EXIF. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks The @a model should be released using free(). * diff --git a/include_product/media_info.h b/include_product/media_info.h index d91c101..e0c0f40 100755 --- a/include_product/media_info.h +++ b/include_product/media_info.h @@ -48,7 +48,7 @@ extern "C" { * Since 5.5, if media information already exists in the media database, * this function returns the updated latest information. (Media database will be updated if necessary). * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -93,7 +93,7 @@ int media_info_insert_to_db(const char *path, media_info_h *info); * @brief Inserts content files into the media database, asynchronously. * @details This function can insert multiple content files into the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n @@ -140,7 +140,7 @@ int media_info_insert_batch_to_db(const char **path_array, unsigned int array_le * can no longer be used to perform any operations. New media info handle has to * be created before the next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @@ -162,7 +162,7 @@ int media_info_destroy(media_info_h media); * @details This function copies the media info handle from a source to the destination. * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_info_destroy(). * @@ -191,7 +191,7 @@ int media_info_clone(media_info_h *dst, media_info_h src); * @brief Gets the count of media info for the passed @a filter from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * * @param[in] filter The handle to the media filter @@ -218,7 +218,7 @@ int media_info_get_media_count_from_db(filter_h filter, int *media_count); * The @a callback function will be invoked for every retrieved media info. * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @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. @@ -251,7 +251,7 @@ int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, vo * @brief Gets the count of media tags for the passed @a filter in the given @a media_id from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -277,7 +277,7 @@ int media_info_get_tag_count_from_db(const char *media_id, filter_h filter, int * @details This function gets all the media tags associated with the given @a media_id and calls @a callback for every retrieved media tag. \n * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -306,7 +306,7 @@ int media_info_foreach_tag_from_db(const char *media_id, filter_h filter, media_ * @brief Gets the number of bookmarks for the passed @a filter in the given media ID from the media database. * @details If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -332,7 +332,7 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter, * @details This function gets all media bookmarks associated with the given media and calls @a callback for every retrieved media bookmark. * If @c NULL is passed to the @a filter, then no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media_id The media ID * @param[in] filter The handle to the media filter @@ -412,7 +412,7 @@ int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media * @brief Gets the image metadata handle for a given media info. * @details This function returns an image metadata handle retrieved from the media info. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a image should be released using image_meta_destroy(). * @@ -434,7 +434,7 @@ int media_info_get_image(media_info_h media, image_meta_h *image); * @brief Gets a video metadata handle for a given media info. * @details This function returns a video metadata handle retrieved from the media info handle. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a video should be released using video_meta_destroy(). * @@ -456,7 +456,7 @@ int media_info_get_video(media_info_h media, video_meta_h *video); * @brief Gets an audio metadata handle for a given media info. * @details This function returns an audio metadata handle retrieved from the media info handle. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a audio should be released using audio_meta_destroy(). * @@ -500,7 +500,7 @@ int media_info_get_book(media_info_h media, book_meta_h *book); /** * @brief Gets the media ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks The @a media_id should be released using free(). * * @param[in] media The handle to the media info @@ -517,7 +517,7 @@ int media_info_get_media_id(media_info_h media, char **media_id); /** * @brief Gets the full path of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -536,7 +536,7 @@ int media_info_get_file_path(media_info_h media, char **path); /** * @brief Gets the file name including the extension of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a name should be released using free(). * @@ -554,7 +554,7 @@ int media_info_get_display_name(media_info_h media, char **name); /** * @brief Gets the content type of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] type The content type of the content file (#media_content_type_e) @@ -571,7 +571,7 @@ int media_info_get_media_type(media_info_h media, media_content_type_e *type); /** * @brief Gets the MIME type of the content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a mime_type should be released using free(). * @@ -589,7 +589,7 @@ int media_info_get_mime_type(media_info_h media, char **mime_type); /** * @brief Gets the content file size. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] size The content file size @@ -605,7 +605,7 @@ int media_info_get_size(media_info_h media, unsigned long long *size); /** * @brief Gets the added time of the content file. * @details The added time refers to the time that content file was first added to media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] added_time The added time to the media database @@ -621,7 +621,7 @@ int media_info_get_added_time(media_info_h media, time_t *added_time); /** * @brief Gets the modified time of the content file. * @details The modified time refers to the last modification time provided by the file system. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] time The last modification time of the content file @@ -638,7 +638,7 @@ int media_info_get_modified_time(media_info_h media, time_t *time); * @brief Gets the timeline of content file. * @details If the content file has the creation time information (like Content recorded date or Image creation date), that value is timeline. \n * Otherwise, timeline value is the same as modified time. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] time The timeline of content file @@ -653,7 +653,7 @@ int media_info_get_timeline(media_info_h media, time_t *time); /** * @brief Gets the thumbnail path of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). \n * If the thumbnail extraction for the given media has not been requested yet, this function returns NULL. \n @@ -676,7 +676,7 @@ int media_info_get_thumbnail_path(media_info_h media, char **path); * @brief Gets the description of content file. * @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 + * @since_tizen 2.3 * * @remarks The @a description should be released using free(). * @@ -694,7 +694,7 @@ int media_info_get_description(media_info_h media, char **description); /** * @brief Gets the longitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] longitude The longitude of the content file @@ -709,7 +709,7 @@ int media_info_get_longitude(media_info_h media, double *longitude); /** * @brief Gets the latitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] latitude The latitude of the content file @@ -725,7 +725,7 @@ int media_info_get_latitude(media_info_h media, double* latitude); /** * @brief Gets the altitude of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] altitude The altitude of the content file @@ -740,7 +740,7 @@ int media_info_get_altitude(media_info_h media, double* altitude); /** * @brief Gets the rating of content file. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] rating The rating of the content file @@ -755,7 +755,7 @@ int media_info_get_rating(media_info_h media, int *rating); /** * @brief Gets the favorite status of content file which User set. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] favorite @c true if content file is set as favorite, @@ -775,7 +775,7 @@ int media_info_get_favorite(media_info_h media, bool* favorite); * @brief Gets the title of content file. * @details If the content file does not have a title, this method returns the filename without the extension. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a title should be released using free(). * @@ -793,7 +793,7 @@ int media_info_get_title(media_info_h media, char **title); /** * @brief Checks whether the media is protected via DRM. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[out] is_drm @c true if media is DRM media, @@ -829,7 +829,7 @@ int media_info_is_360_content(media_info_h media, bool *is_360); * @details This function creates a new media handle from the media database by the given @a media_id. * Media info will be created and filled with information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media should be released using media_info_destroy(). * @@ -890,7 +890,7 @@ int media_info_get_media_from_db_by_path(const char *media_path, media_info_h *m * So, If you use it in order parameter, you can sort the order of the time was a favorite. \n * Or, if you use it in condition parameter, you can get the result of the favorite media. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] media The handle to the media info * @param[in] favorite Set @c true to set the media info as favorite, @@ -909,7 +909,7 @@ int media_info_set_favorite(media_info_h media, bool favorite); * * @details The function updates the given media info in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/content.write * @@ -945,7 +945,7 @@ int media_info_update_to_db(media_info_h media); * If the source path and destination path are the same, then this function does nothing. * If you want to refresh media information, you should use media_content_scan_file() function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write \n diff --git a/include_product/media_playlist.h b/include_product/media_playlist.h index 6cbfe4a..a81cc77 100755 --- a/include_product/media_playlist.h +++ b/include_product/media_playlist.h @@ -39,7 +39,7 @@ extern "C" { /** * @brief Gets the number of playlists for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] playlist_count The count of the media playlist @@ -64,7 +64,7 @@ int media_playlist_get_playlist_count_from_db(filter_h filter, int *playlist_cou * The callback function will be invoked for every retrieved media playlist. * If @c NULL is passed to the filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -90,7 +90,7 @@ int media_playlist_foreach_playlist_from_db(filter_h filter, media_playlist_cb c /** * @brief Gets the number of the media info for the given playlist present in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist_id The ID of the media playlist * @param[in] filter The handle to the media filter @@ -116,7 +116,7 @@ int media_playlist_get_media_count_from_db(int playlist_id, filter_h filter, int * meeting desired filter option and calls @a callback for * every retrieved media info. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist_id The ID of the media playlist * @param[in] filter The handle to the media filter @@ -143,7 +143,7 @@ int media_playlist_foreach_media_from_db(int playlist_id, filter_h filter, playl /** * @brief Inserts a new playlist with the given name into the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -174,7 +174,7 @@ int media_playlist_insert_to_db(const char *name, media_playlist_h *playlist); /** * @brief Deletes the given playlist from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -205,7 +205,7 @@ int media_playlist_delete_from_db(int playlist_id); * @details This function creates a new media playlist handle from the media database by the given @a playlist_id. * The media playlist will be created and will be filled with the playlist information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a playlist should be released using media_playlist_destroy(). * @@ -234,7 +234,7 @@ int media_playlist_get_playlist_from_db(int playlist_id, media_playlist_h *playl * handle no longer can be used to perform any operations. A new handle has to * be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @@ -257,7 +257,7 @@ int media_playlist_destroy(media_playlist_h playlist); * media playlist foreach function such as media_playlist_foreach_playlist_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_playlist_destroy(). * @@ -278,7 +278,7 @@ int media_playlist_clone(media_playlist_h *dst, media_playlist_h src); /** * @brief Gets the media playlist ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[out] playlist_id The ID of the media playlist @@ -293,7 +293,7 @@ int media_playlist_get_playlist_id(media_playlist_h playlist, int *playlist_id); /** * @brief Gets a name of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a playlist_name should be released using free(). * @@ -311,7 +311,7 @@ int media_playlist_get_name(media_playlist_h playlist, char **playlist_name); /** * @brief Sets the name of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_name The name of the media playlist @@ -330,7 +330,7 @@ int media_playlist_set_name(media_playlist_h playlist, const char *playlist_name /** * @brief Gets a thumbnail path of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a path should be released using free(). * @@ -348,7 +348,7 @@ int media_playlist_get_thumbnail_path(media_playlist_h playlist, char **path); /** * @brief Sets the thumbnail path of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] path The path of the thumbnail @@ -367,7 +367,7 @@ int media_playlist_set_thumbnail_path(media_playlist_h playlist, const char *pat /** * @brief Sets the playing order in the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -386,7 +386,7 @@ int media_playlist_set_play_order(media_playlist_h playlist, int playlist_member /** * @brief Adds a new media info to the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] media_id The media ID @@ -408,7 +408,7 @@ int media_playlist_add_media(media_playlist_h playlist, const char *media_id); /** * @brief Removes the playlist members related with the media from the given playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -430,7 +430,7 @@ int media_playlist_remove_media(media_playlist_h playlist, int playlist_member_i /** * @brief Gets the played order of the playlist. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] playlist The handle to the media playlist * @param[in] playlist_member_id The ID of the playlist member @@ -453,7 +453,7 @@ int media_playlist_get_play_order(media_playlist_h playlist, int playlist_member * media_playlist_update_to_db() function should be called so as to update * the given playlist attributes in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -486,7 +486,7 @@ int media_playlist_update_to_db(media_playlist_h playlist); /** * @brief Imports the playlist from m3u playlist file. * @details This function reads a playlist from the m3u playlist file and insert into the db. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -516,7 +516,7 @@ int media_playlist_import_from_file(const char *playlist_name, const char *path, /** * @brief Exports the playlist to m3u playlist file. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * * @remarks %http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. \n * %http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. diff --git a/include_product/media_tag.h b/include_product/media_tag.h index 1b7cec3..91d110e 100755 --- a/include_product/media_tag.h +++ b/include_product/media_tag.h @@ -41,7 +41,7 @@ extern "C" { /** * @brief Inserts a new tag in the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -73,7 +73,7 @@ int media_tag_insert_to_db(const char *tag_name, media_tag_h *tag); /** * @brief Deletes a given tag from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write @@ -100,7 +100,7 @@ int media_tag_delete_from_db(int tag_id); /** * @brief Gets the count of the tag for the passed @a filter from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[out] tag_count The count of the media tag @@ -125,7 +125,7 @@ int media_tag_get_tag_count_from_db(filter_h filter, int *tag_count); * and calls a registered callback function for every retrieved tag. * If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] filter The handle to the media filter * @param[in] callback The callback function to be invoked @@ -151,7 +151,7 @@ int media_tag_foreach_tag_from_db(filter_h filter, media_tag_cb callback, void * /** * @brief Gets the number of media files for the passed @a filter in the given @a tag_id from the media database. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag_id The ID of the media tag * @param[in] filter The handle to the media filter @@ -177,7 +177,7 @@ int media_tag_get_media_count_from_db(int tag_id, filter_h filter, int *media_co * meeting a desired @a filter and calls a registered callback function for * every retrieved media item. If @c NULL is passed to the @a filter, no filtering is applied. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag_id The ID of the media tag * @param[in] filter The handle to the media filter @@ -209,7 +209,7 @@ int media_tag_foreach_media_from_db(int tag_id, filter_h filter, media_info_cb c * such as media_tag_foreach_tag_from_db(). * To use this handle outside of these foreach functions, use this function. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using media_tag_destroy(). * @@ -232,7 +232,7 @@ int media_tag_clone(media_tag_h *dst, media_tag_h src); * @details This function frees all resources related to the tag handle. The tag handle can no longer * be used for any operations. A new tag handle has to be created before next usage. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @@ -251,7 +251,7 @@ int media_tag_destroy(media_tag_h tag); /** * @brief Gets the media tag ID. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[out] tag_id The ID of the media tag @@ -266,7 +266,7 @@ int media_tag_get_tag_id(media_tag_h tag, int *tag_id); /** * @brief Gets the tag name. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a tag_name should be released using free(). * @@ -288,7 +288,7 @@ int media_tag_get_name(media_tag_h tag, char **tag_name); * @details This function creates a new media tag handle from the media database by the given @a tag_id. * Media tag will be created and will be filled with tag information. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a tag should be released using media_tag_destroy(). * @@ -313,7 +313,7 @@ int media_tag_get_tag_from_db(int tag_id, media_tag_h *tag); /** * @brief Adds a new media info to the tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] media_id The media ID @@ -335,7 +335,7 @@ int media_tag_add_media(media_tag_h tag, const char *media_id); /** * @brief Removes the media info from the given tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] media_id The media ID @@ -357,7 +357,7 @@ int media_tag_remove_media(media_tag_h tag, const char *media_id); /** * @brief Sets the name of the tag. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] tag The handle to the media tag * @param[in] tag_name The name of the media tag @@ -380,7 +380,7 @@ int media_tag_set_name(media_tag_h tag, const char *tag_name); * database. For example, after using media_tag_set_name() for setting the name of the tag, the media_tag_update_to_db() function should be called so as to update * the given tag attributes in the media database. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @privlevel public * @privilege %http://tizen.org/privilege/content.write diff --git a/include_product/media_video.h b/include_product/media_video.h index c969990..75756b5 100755 --- a/include_product/media_video.h +++ b/include_product/media_video.h @@ -40,7 +40,7 @@ extern "C" { * @brief Clones the video metadata. * @details This function copies the video metadata handle from a source to destination. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a dst should be released using video_meta_destroy(). * @@ -64,7 +64,7 @@ int video_meta_clone(video_meta_h *dst, video_meta_h src); * no longer can be used to perform any operations. A new handle has to * be created before the next use. * - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @@ -82,7 +82,7 @@ int video_meta_destroy(video_meta_h video); /** * @brief Gets the ID of the media of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a media_id should be released using free(). * @@ -103,7 +103,7 @@ int video_meta_get_media_id(video_meta_h video, char **media_id); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album should be released using free(). * @@ -124,7 +124,7 @@ int video_meta_get_album(video_meta_h video, char **album); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a artist should be released using free(). * @@ -145,7 +145,7 @@ int video_meta_get_artist(video_meta_h video, char **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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a album_artist should be released using free(). * @@ -166,7 +166,7 @@ int video_meta_get_album_artist(video_meta_h video, char **album_artist); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a genre should be released using free(). * @@ -187,7 +187,7 @@ int video_meta_get_genre(video_meta_h video, char **genre); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a composer should be released using free(). * @@ -208,7 +208,7 @@ int video_meta_get_composer(video_meta_h video, char **composer); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a year should be released using free(). * @@ -229,7 +229,7 @@ int video_meta_get_year(video_meta_h video, char **year); * @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 + * @since_tizen 2.3 * * @remarks The @a recorded_date should be released using free(). * @@ -250,7 +250,7 @@ int video_meta_get_recorded_date(video_meta_h video, char **recorded_date); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a copyright should be released using free(). * @@ -271,7 +271,7 @@ int video_meta_get_copyright(video_meta_h video, char **copyright); * @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_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @remarks The @a track_num should be released using free(). * @@ -289,7 +289,7 @@ int video_meta_get_track_num(video_meta_h video, char **track_num); /** * @brief Gets the bitrate of the given video metadata in bitrate per second. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] bit_rate The video bit rate in bit per second [bps] @@ -304,7 +304,7 @@ int video_meta_get_bit_rate(video_meta_h video, int *bit_rate); /** * @brief Gets the track duration of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] duration The video duration in milliseconds @@ -319,7 +319,7 @@ int video_meta_get_duration(video_meta_h video, int *duration); /** * @brief Gets the width of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] width The video width in pixels @@ -334,7 +334,7 @@ int video_meta_get_width(video_meta_h video, int *width); /** * @brief Gets the height of the given video metadata. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * * @param[in] video The handle to the video metadata * @param[out] height The video height in pixels -- 2.7.4