[ACR-1635] Support ebook format
[platform/core/api/media-content.git] / include / media_content_type.h
index ec2fe1b..263a8b1 100755 (executable)
@@ -15,8 +15,8 @@
 */
 
 
-#ifndef __TIZEN_MEDIA_CONTENT_TYPE_H__
-#define __TIZEN_MEDIA_CONTENT_TYPE_H__
+#ifndef __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
+#define __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
 
 #include <time.h>
 #include <tizen.h>
 extern "C" {
 #endif /* __cplusplus */
 
-
-#ifndef DEPRECATED_API
-#define DEPRECATED_API __attribute__ ((deprecated))
-#endif
-
 /**
  * @file media_content_type.h
  * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
  *        classes of errors and definitions of media-data. \n
  *        Listed APIs are called when iterating over lists of album, group, bookmark and other media,  \n
- *        when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
+ *        when media items are inserted completely and when notification of media DB change is subscribed.
  */
 
 /**
@@ -47,17 +42,22 @@ 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
+ * @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.
  */
 typedef enum {
-       MEDIA_CONTENT_TYPE_IMAGE                = 0,    /**<The type of an image */
-       MEDIA_CONTENT_TYPE_VIDEO                = 1,    /**<The type of a video */
+       MEDIA_CONTENT_TYPE_IMAGE        = 0,    /**<The type of an image */
+       MEDIA_CONTENT_TYPE_VIDEO        = 1,    /**<The type of a video */
        MEDIA_CONTENT_TYPE_SOUND        = 2,    /**<The type of sound */
-       MEDIA_CONTENT_TYPE_MUSIC                = 3,    /**<The type of music */
+       MEDIA_CONTENT_TYPE_MUSIC        = 3,    /**<The type of music */
        MEDIA_CONTENT_TYPE_OTHERS       = 4,    /**<The type of other */
+       MEDIA_CONTENT_TYPE_BOOK         = 5,    /**<The type of book (Since 6.5)*/
 } media_content_type_e;
 
 /**
- * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
+ * @ingroup CAPI_MEDIA_CONTENT_MODULE
+ * @deprecated Deprecated since 5.0.
  * @brief Enumeration for the storage type.
  * @details This information is used to establish where the folder is.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
@@ -65,8 +65,7 @@ typedef enum {
 typedef enum {
        MEDIA_CONTENT_STORAGE_INTERNAL  = 0,    /**< The device's internal storage */
        MEDIA_CONTENT_STORAGE_EXTERNAL  = 1,    /**< The device's external storage like sd card*/
-       MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since 2.4) */
-       MEDIA_CONTENT_STORAGE_CLOUD     = 100,  /**< The Cloud storage (Since 2.4) */
+       MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
 } media_content_storage_e;
 
 /**
@@ -115,6 +114,7 @@ typedef enum {
 typedef enum {
        MEDIA_CONTENT_ORDER_ASC   = 0,      /**< Ascending order*/
        MEDIA_CONTENT_ORDER_DESC  = 1,      /**< Descending order*/
+       MEDIA_CONTENT_ORDER_OTHER = 2,          /**< order by order key**/
 } media_content_order_e;
 
 /**
@@ -129,6 +129,12 @@ typedef enum {
        MEDIA_CONTENT_COLLATE_LOCALIZED = 3,        /**< Collation LOCALIZATION, NOCASE also applied */
 } media_content_collation_e;
 
+/**
+* @brief Error class.
+* @details Class for Media Content error
+* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+*
+*/
 #define MEDIA_CONTENT_ERROR_CLASS                              TIZEN_ERROR_MEDIA_CONTENT
 
 /**
@@ -143,11 +149,11 @@ typedef enum {
        MEDIA_CONTENT_ERROR_INVALID_OPERATION       = TIZEN_ERROR_INVALID_OPERATION,       /**< Invalid Operation */
        MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE       = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
        MEDIA_CONTENT_ERROR_PERMISSION_DENIED             = TIZEN_ERROR_PERMISSION_DENIED,                /**< Permission denied */
-       MEDIA_CONTENT_ERROR_NO_DATA                              = TIZEN_ERROR_NO_DATA,                           /**< No data available  (Since 3.0) */
        MEDIA_CONTENT_ERROR_DB_FAILED               = MEDIA_CONTENT_ERROR_CLASS | 0x01,    /**< DB operation failed */
        MEDIA_CONTENT_ERROR_DB_BUSY                 = MEDIA_CONTENT_ERROR_CLASS | 0x02,    /**< DB operation BUSY */
        MEDIA_CONTENT_ERROR_NETWORK                 = MEDIA_CONTENT_ERROR_CLASS | 0x03,    /**< Network Fail */
        MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT     = MEDIA_CONTENT_ERROR_CLASS | 0x04,    /**< Unsupported Content */
+       MEDIA_CONTENT_ERROR_NOT_SUPPORTED           = TIZEN_ERROR_NOT_SUPPORTED,           /**< Not supported */
 } media_content_error_e;
 
 /**
@@ -175,17 +181,8 @@ typedef enum {
        MEDIA_CONTENT_GROUP_LONGITUDE,           /**< Media group ID for the longitude*/
        MEDIA_CONTENT_GROUP_LATITUDE,            /**< Media group ID for the latitude*/
        MEDIA_CONTENT_GROUP_ALTITUDE,            /**< Media group ID for the altitude*/
-       MEDIA_CONTENT_GROUP_BURST_IMAGE,         /**< Media group ID for the burst shot*/
-       MEDIA_CONTENT_GROUP_RATING,              /**< Media group ID for a rating*/
-       MEDIA_CONTENT_GROUP_AUTHOR,              /**< Media group ID for an author*/
-       MEDIA_CONTENT_GROUP_PROVIDER,            /**< Media group ID for a provider*/
-       MEDIA_CONTENT_GROUP_CONTENT_NAME,        /**< Media group ID for the content name*/
-       MEDIA_CONTENT_GROUP_CATEGORY,            /**< Media group ID for a category*/
-       MEDIA_CONTENT_GROUP_LOCATION_TAG,        /**< Media group ID for a location tag*/
-       MEDIA_CONTENT_GROUP_AGE_RATING,          /**< Media group ID for an age rating*/
-       MEDIA_CONTENT_GROUP_KEYWORD,             /**< Media group ID for a keyword*/
-       MEDIA_CONTENT_GROUP_WEATHER,             /**< Media group ID for the weather*/
-       MEDIA_CONTENT_GROUP_MAX                  /**< Invalid media group ID*/
+       MEDIA_CONTENT_GROUP_RATING = 20,         /**< Media group ID for a rating*/
+       MEDIA_CONTENT_GROUP_MAX = 29             /**< Invalid media group ID*/
 } media_group_e;
 
 /**
@@ -231,7 +228,7 @@ typedef struct media_bookmark_s *media_bookmark_h;
 typedef struct media_album_s *media_album_h;
 
 /**
- * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
+ * @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
  */
@@ -252,6 +249,13 @@ typedef struct video_meta_s *video_meta_h;
 typedef struct audio_meta_s *audio_meta_h;
 
 /**
+ * @ingroup CAPI_CONTENT_MEDIA_BOOK_META_MODULE
+ * @brief The structure type for the Book metadata handle.
+ * @since_tizen 6.5
+ */
+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
@@ -260,8 +264,9 @@ typedef struct filter_s *filter_h;
 
 /**
  * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
+ * @deprecated Deprecated since 5.0.
  * @brief The structure type for the Media storage handle.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  */
 typedef void *media_storage_h;
 
@@ -274,36 +279,55 @@ typedef void *media_face_h;
 
 /**
  * @ingroup CAPI_MEDIA_CONTENT_MODULE
+ * @brief The structure type for the Media content noti handle.
+ * @since_tizen 3.0
+ */
+typedef void *media_content_noti_h;
+
+/**
+ * @ingroup CAPI_MEDIA_CONTENT_MODULE
  * @brief Called when the media scanning is finished.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
- * @param[in] error     The error code
+ * @details The following error codes can be received: \n
+ *             #MEDIA_CONTENT_ERROR_NONE : Success \n
+ *             #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
+ *             #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
+ *             #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
+ *             #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
+ *             #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
+ * @remarks The callback is called in a separate thread(not in the main loop).
+ *
+ * @param[in] error The error code
  * @param[in] user_data The user data passed from the foreach function
  *
- * @pre media_content_scan().
- *
- * @see media_content_scan()
- *
+ * @pre media_content_scan_folder().
+ * @see media_content_scan_folder()
  */
 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
 
 /**
  * @ingroup CAPI_MEDIA_CONTENT_MODULE
  * @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
  *
- * @param[in] error       The error code
- * @param[in] pid         The PID which publishes notification
+ * @remarks The callback is called in a separate thread(not in the main loop).
+ *
+ * @param[in] error The error code
+ * @param[in] pid The PID which publishes notification
  * @param[in] update_item The update item of notification
  * @param[in] update_type The update type of notification
- * @param[in] media_type  The type of the media content (#media_content_type_e)
- * @param[in] uuid        The UUID of media or directory, which is updated
- * @param[in] path        The path of the media or directory
- * @param[in] mime_type   The mime type of the media info
- * @param[in] user_data   The user data passed from the foreach function
+ * @param[in] media_type The type of the media content (#media_content_type_e)
+ * @param[in] uuid The UUID of media or directory, which is updated
+ * @param[in] path The path of the media or directory
+ * @param[in] mime_type The MIME of the media info
+ * @param[in] user_data The user data passed from the foreach function
  *
- * @pre media_content_db_update_subscribe().
- * @see media_content_db_update_subscribe()
+ * @pre media_content_add_db_updated_cb().
+ * @see media_content_add_db_updated_cb()
  */
 typedef void (*media_content_db_update_cb)(
                                media_content_error_e error,
@@ -320,13 +344,13 @@ typedef void (*media_content_db_update_cb)(
 /**
  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
  * @brief Called for every available media info.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a list of media info.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
- * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function.
+ * @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.
  *
- * @param[in] media     The handle to the media info
+ * @param[in] media The handle to the media info
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
@@ -348,62 +372,91 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
  * @brief Called when media items are inserted completely.
+ * @details The following error codes can be received: \n
+ *             #MEDIA_CONTENT_ERROR_NONE : Success \n
+ *             #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
+ *             #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
+ *             #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
+ *             #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
+ *             #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
+ *             #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
- * @param[in] media     The handle to the media info
+ * @remarks The callback is called in a separate thread(not in the main loop).
+ *
+ * @param[in] error The error code
  * @param[in] user_data The user data passed from the foreach function
  *
  * @pre media_info_insert_batch_to_db()
- *
  * @see media_info_insert_batch_to_db()
  */
 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
 
 
 /**
+ * @deprecated Deprecated since 5.0.
  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
- * @brief Called when the burst shot is inserted completely.
+ * @brief Called when creating a thumbnail image.
+ * @details This callback is called for completion of generating the thumbnail image.
+ *         The following error codes can be delivered. \n
+ *         #MEDIA_CONTENT_ERROR_NONE, \n
+ *         #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
+ *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
+ *         #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
+ *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
+ *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
- * @param[in] media     The handle to the media info
- * @param[in] user_data The user data passed from the foreach function
- *
- * @pre media_info_insert_burst_shot_to_db()
+ * @remarks The callback is called in a separate thread(not in the main loop).
  *
- * @see media_info_insert_burst_shot_to_db()
+ * @param[in] error The error code
+ * @param[in] path The path of the thumbnail which is generated
+ * @param[in] user_data The user data passed from the foreach function
  *
+ * @pre media_info_create_thumbnail()
+ * @see media_info_create_thumbnail()
  */
-typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
-
+typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
 
 /**
- * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
- * @brief Called when creating a thumbnail image.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
+ * @brief Called when face detection on the image is completed.
  *
- * @details This callback is called for completion of generating the thumbnail image.
+ * @details The following error codes can be delivered. \n
+ *         #MEDIA_CONTENT_ERROR_NONE, \n
+ *         #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
+ *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
+ *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
+ *         #MEDIA_CONTENT_ERROR_DB_BUSY, \n
+ *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
  *
- * @param[in] error     The error code
- * @param[in] path      The path of the thumbnail which is generated
- * @param[in] user_data The user data passed from the foreach function
+ * @since_tizen 3.0
  *
- * @pre media_info_create_thumbnail()
+ * @remarks The callback is called in a separate thread(not in the main loop).
  *
- * @see media_info_create_thumbnail()
+ * @param[in] error The error code
+ * @param[in] face_count The number of all detected faces
+ * @param[in] user_data The user data passed from the foreach function
+ *
+ * @pre media_info_start_face_detection()
+ * @see media_info_start_face_detection()
  */
-typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
+typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
 
 
 /**
  * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
  * @brief Called for every available media folder.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a list of folders.
  *
- * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] folder    The handle to the media folder
+ * @param[in] folder The handle to the media folder
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
@@ -418,13 +471,14 @@ typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
  * @brief Called for every playlist in the obtained list of playlists.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a playlist list.
  *
- * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] playlist  The handle to the media playlist
+ * @param[in] playlist The handle to the media playlist
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
@@ -440,15 +494,16 @@ typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
  * @brief Called for every media info with playlist member ID in the obtained list of media info.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over playlist members.
  *
- * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] playlist_member_id The ID to member of the playlist
- * @param[in] media              The handle to the media info
- * @param[in] user_data          The user data passed from the foreach function
+ * @param[in] playlist_member_id The ID of the playlist member
+ * @param[in] media The handle to the media info
+ * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
  *         otherwise @c false to break out of the loop
@@ -463,13 +518,14 @@ typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, v
 /**
  * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
  * @brief Called for every tag in the obtained list of tags.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a list of tags.
  *
- * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] tag       The handle to the media tag
+ * @param[in] tag The handle to the media tag
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
@@ -486,20 +542,20 @@ typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
  * @brief Called for every bookmark in the obtained list of bookmarks.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a bookmark list.
  *
- * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] bookmark  The handle to the video bookmark
+ * @param[in] bookmark The handle to the media bookmark
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
  *         otherwise @c false to break out of the loop
  *
  * @pre media_info_foreach_bookmark_from_db() will invoke this function.
- *
  * @see media_info_foreach_bookmark_from_db()
  */
 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
@@ -507,13 +563,14 @@ typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
  * @brief Called for every album in the obtained list of groups.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over an album list.
  *
- * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @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.
  *
- * @param[in] album     The handle to the media album
+ * @param[in] album The handle to the media album
  * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
@@ -529,41 +586,42 @@ typedef bool (*media_album_cb)(media_album_h album, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
  * @brief Called for every group in the obtained list of groups.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- *
  * @details Iterates over a media group list.
  *
- * @remarks You should not free @a group_name returned by this function.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
+ * @remarks You should not free @a group_name returned by this function. \n
+ *                  The callback is called in the main loop.
  *
  * @param[in] group_name The name of the media group
- * @param[in] user_data  The user data passed from the foreach function
+ * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
  *         otherwise @c false to break out of the loop
  *
  * @pre media_group_foreach_group_from_db() will invoke this function.
- *
  * @see media_group_foreach_group_from_db()
  */
 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
 
 /**
  * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
+ * @deprecated Deprecated since 5.0.
  * @brief Called for every storage in the obtained list of storages.
- * @since_tizen 2.4
- *
  * @details Iterates over a media storage list.
  *
- * @remarks You should not destroy @a storage returned by this function.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *
+ * @remarks You should not destroy @a storage returned by this function. \n
+ *                  The callback is called in the main loop.
  *
- * @param[in] storage     The handle of the media storage
- * @param[in] user_data  The user data passed from the foreach function
+ * @param[in] storage The handle of the media storage
+ * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
  *         otherwise @c false to break out of the loop
  *
  * @pre media_storage_foreach_storage_from_db() will invoke this function.
- *
  * @see media_storage_foreach_storage_from_db()
  */
 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
@@ -571,20 +629,20 @@ typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
 /**
  * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
  * @brief Called for every face in the obtained list of face.
- * @since_tizen 3.0
- *
  * @details Iterates over a media face list.
  *
- * @remarks You should not destroy @a face returned by this function.
+ * @since_tizen 3.0
  *
- * @param[in] face     The handle of the media face
- * @param[in] user_data  The user data passed from the foreach function
+ * @remarks You should not destroy @a face returned by this function. \n
+ *                  The callback is called in the main loop.
+ *
+ * @param[in] face The handle of the media face
+ * @param[in] user_data The user data passed from the foreach function
  *
  * @return @c true to continue with the next iteration of the loop,
  *         otherwise @c false to break out of the loop
  *
  * @pre media_info_foreach_face_from_db() will invoke this function.
- *
  * @see media_info_foreach_face_from_db()
  */
 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
@@ -599,624 +657,602 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  */
 
  /**
- * @brief 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
- *
- */
-#define MEDIA_ID "MEDIA_ID" /**< Media ID */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_PATH "MEDIA_PATH"  /**< Media full path */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"  /**< Media base name */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_TYPE "MEDIA_TYPE"  /**< Media type: 0-image, 1-video, 2-sound, 3-music, 4-other*/
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"  /**< Media MIME type */
-
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_SIZE "MEDIA_SIZE"  /**< Media MIME size */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"  /**< Media added time */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"  /**< Media modified time */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_TIMELINE "MEDIA_TIMELINE"  /**< Media modified time */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"  /**< Media thumbnail path */
-
-/**
- * @brief 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
- *
- */
-#define MEDIA_TITLE "MEDIA_TITLE"  /**< Media title get from tag or file name */
-
-/**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_ALBUM "MEDIA_ALBUM"  /**< Media album name*/
+#define MEDIA_ID "MEDIA_ID"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_ARTIST "MEDIA_ARTIST"  /**< Media artist*/
+#define MEDIA_PATH "MEDIA_PATH"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"  /**< Media album_artist*/
+#define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @brief Media type.
+ * @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
  *
  */
-#define MEDIA_GENRE "MEDIA_GENRE"  /**< Media genre*/
+#define MEDIA_TYPE "MEDIA_TYPE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_COMPOSER "MEDIA_COMPOSER"  /**< Media composer*/
+#define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
 
-/**
- * @brief 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
- *
- */
-#define MEDIA_YEAR "MEDIA_YEAR"  /**< Media year*/
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"  /**< Media recorded date*/
+#define MEDIA_SIZE "MEDIA_SIZE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"  /**< Media copyright*/
+#define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"  /**< Media track number*/
+#define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"  /**< Media description*/
+#define MEDIA_TIMELINE "MEDIA_TIMELINE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_BITRATE "MEDIA_BITRATE"  /**< Media bitrate*/
+#define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"  /**< Media bit per sample*/
+#define MEDIA_TITLE "MEDIA_TITLE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"  /**< Media sample rate*/
+#define MEDIA_ALBUM "MEDIA_ALBUM"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_CHANNEL "MEDIA_CHANNEL"  /**< Media channel*/
+#define MEDIA_ARTIST "MEDIA_ARTIST"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_DURATION "MEDIA_DURATION"  /**< Media duration */
+#define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_LONGITUDE "MEDIA_LONGITUDE"  /**< Media longitude */
+#define MEDIA_GENRE "MEDIA_GENRE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_LATITUDE "MEDIA_LATITUDE"  /**< Media latitude */
+#define MEDIA_COMPOSER "MEDIA_COMPOSER"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_ALTITUDE "MEDIA_ALTITUDE"  /**< Media altitude */
+#define MEDIA_YEAR "MEDIA_YEAR"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_WIDTH "MEDIA_WIDTH"  /**< Media width*/
+#define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media copyright.
+ * @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
  *
  */
-#define MEDIA_HEIGHT "MEDIA_HEIGHT"  /**< Media height*/
+#define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_DATETAKEN "MEDIA_DATETAKEN"  /**< Media datetaken*/
+#define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media description.
+ * @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
  *
  */
-#define MEDIA_ORIENTATION "MEDIA_ORIENTATION"  /**< Media orientation*/
+#define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media bitrate.
+ * @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
  *
  */
-#define MEDIA_BURST_ID "BURST_ID"  /**< Media burst ID*/
+#define MEDIA_BITRATE "MEDIA_BITRATE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media bit per sample.
+ * @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
  *
  */
-#define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT"  /**< Media playedcount*/
+#define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media sample rate.
+ * @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
  *
  */
-#define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"  /**< Media last played time*/
+#define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media channel.
+ * @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
  *
  */
-#define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"  /**< Media last played position of file*/
+#define MEDIA_CHANNEL "MEDIA_CHANNEL"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_RATING "MEDIA_RATING"  /**< Media rating*/
+#define MEDIA_DURATION "MEDIA_DURATION"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_FAVOURITE "MEDIA_FAVOURITE"  /**< 0-not favourite, 1-favourite*/
+#define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_AUTHOR "MEDIA_AUTHOR"  /**< Media authore*/
+#define MEDIA_LATITUDE "MEDIA_LATITUDE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_PROVIDER "MEDIA_PROVIDER"  /**< Media provider*/
+#define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"  /**< Media content name*/
+#define MEDIA_WIDTH "MEDIA_WIDTH"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_CATEGORY "MEDIA_CATEGORY"  /**< Media category*/
+#define MEDIA_HEIGHT "MEDIA_HEIGHT"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"  /**< Media location tag*/
+#define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media orientation.
+ * @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
  *
  */
-#define MEDIA_AGE_RATING "MEDIA_AGE_RATING"  /**< Media age rating*/
+#define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media rating.
+ * @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
  *
  */
-#define MEDIA_KEYWORD "MEDIA_KEYWORD"  /**< Media keyword*/
+#define MEDIA_RATING "MEDIA_RATING"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
  *
  */
-#define MEDIA_WEATHER "MEDIA_WEATHER"  /**< Media weather*/
+#define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @brief Is DRM.
+ * @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
  *
  */
-#define MEDIA_IS_DRM "MEDIA_IS_DRM"  /**< Is DRM. 0-not drm, 1-drm*/
+#define MEDIA_IS_DRM "MEDIA_IS_DRM"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.0.
+ * @brief Media storage.
+ * @details There are 3 types:\n
+ *               0-internal storage, 1-SD card, 2-USB storage\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
  *
  */
-#define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"  /**< Media storage. 0-internal storage, 1-external storage*/
+#define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @deprecated Deprecated since 5.5.
+ * @brief Media exposure time.
+ * @details You can use above define to set the condition of media filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
  */
-#define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"      /**< media exposure_time*/
+#define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @deprecated Deprecated since 5.5.
+ * @brief Media fnumber.
+ * @details You can use above define to set the condition of media filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
  */
-#define MEDIA_FNUMBER "MEDIA_FNUMBER"  /**< media fnumber*/
+#define MEDIA_FNUMBER "MEDIA_FNUMBER"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @deprecated Deprecated since 5.5.
+ * @brief Media ISO.
+ * @details You can use above define to set the condition of media filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
  */
-#define MEDIA_ISO "MEDIA_ISO"  /**< media iso*/
+#define MEDIA_ISO "MEDIA_ISO"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @deprecated Deprecated since 5.5.
+ * @brief Media model.
+ * @details You can use above define to set the condition of media filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
  */
-#define MEDIA_MODEL "MEDIA_MODEL"      /**< media model*/
+#define MEDIA_MODEL "MEDIA_MODEL"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"  /**< Media file name pinyin */
+#define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"  /**< Media title pinyin */
+#define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"  /**< Media album pinyin*/
+#define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"  /**< Media artist pinyin*/
+#define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"  /**< Media album_artist pinyin*/
+#define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"  /**< Media genre pinyin*/
+#define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
+ * @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.
  *
  */
-#define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"  /**< Media composer pinyin*/
+#define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media copyright 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
+ * @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.
  *
  */
-#define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"  /**< Media copyright pinyin*/
+#define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.5.
+ * @brief Media description 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
+ * @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.
  *
  */
-#define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"  /**< Media description pinyin*/
+#define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
 
 /**
- * @brief 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
- *
- */
-#define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"  /**< Media authore pinyin*/
-
-/**
- * @brief 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
+ * @brief Virtual Reality content.
+ * @details You can use above define to set the condition of media filter and order keyword.
+ * @since_tizen 3.0
  *
  */
-#define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"  /**< Media provider pinyin*/
+#define MEDIA_360 "MEDIA_360"
 
-/**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ /**
+ * @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
- *
  */
-#define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"  /**< Media content name pinyin*/
+#define FOLDER_ID "FOLDER_ID"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
- *
  */
-#define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"  /**< Media category pinyin*/
+#define FOLDER_PATH "FOLDER_PATH"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
- *
  */
-#define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"  /**< Media location tag pinyin*/
+#define FOLDER_NAME "FOLDER_NAME"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @deprecated Deprecated since 5.0.
+ * @brief Folder storage.
+ * @details There are 2 types:\n
+ *               0-internal storage, 1-external storage\n
+ *               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
- *
  */
-#define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"  /**< Media age rating pinyin*/
+#define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
 
 /**
- * @brief You can use above define to set the condition of media filter and order keyword.
+ * @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
- *
+ * @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.
  */
-#define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"  /**< Media keyword pinyin*/
+#define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
 
 /**
- * @}
- */
-
-
-/**
- * @addtogroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
- * @{
- */
-
- /**
- * @brief You can use above define to set the condition of folder filter and order keyword.
+ * @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
  */
-#define FOLDER_ID "FOLDER_ID"  /**< Folder ID */
-
-/**
-* @brief 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
-*/
-#define FOLDER_PATH "FOLDER_PATH"  /**< Folder full path */
-
-/**
-* @brief 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
-*/
-#define FOLDER_NAME "FOLDER_NAME"  /**< Folder base name */
-
-/**
-* @brief 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
-*/
-#define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"  /**< Folder modified time */
-
-/**
-* @brief 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
-*/
-#define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"  /**< Folder storage. 0-internal storage, 1-external storage*/
-
-/**
-* @brief 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
-*/
-#define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"  /**< Folder base name pinyin*/
-
-/**
- * @brief You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen 2.4
- */
-#define FOLDER_ORDER "FOLDER_ORDER"  /**< Folder order info */
-
-/**
- * @brief You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen 2.4
- */
-#define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"      /**< parent folder id */
+#define PLAYLIST_NAME "PLAYLIST_NAME"
 
 /**
- * @}
+ * @brief Playlist id.
+ * @details You can use above define to set the condition of playlist filter and order keyword.
+ * @since_tizen 4.0
  */
+#define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
 
 /**
- * @addtogroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
- * @{
- * @brief You can use above define to set the condition of playlist filter and order keyword.
+ * @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
  */
-#define PLAYLIST_NAME "PLAYLIST_NAME"  /**< Playlist name */
+#define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
 
 /**
- * @brief You can use above define to set the condition of playlist filter and order keyword.
+ * @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
  */
-#define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"  /**< Playlist name */
+#define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
 
 /**
- * @brief You can use above define to set the condition of playlist filter and order keyword.
+ * @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
  */
-#define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"  /**< Media count in playlist view */
+#define TAG_NAME "TAG_NAME"
 
 /**
- * @}
+ * @brief Tag id.
+ * @details You can use above define to set the condition of tag filter and order keyword.
+ * @since_tizen 4.0
  */
+#define MEDIA_TAG_ID "TAG_ID"
 
 /**
- * @addtogroup CAPI_CONTENT_MEDIA_TAG_MODULE
- * @{
- * @brief You can use above define to set the condition of tag filter and order keyword.
+ * @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
  */
-#define TAG_NAME "TAG_NAME"  /**< Tag name */
+#define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
 
 /**
- * @brief You can use above define to set the condition of tag filter and order keyword.
+ * @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
  */
-#define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"  /**< Media count in tag view */
+#define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
 
 /**
- * @}
+ * @brief Bookmark id.
+ * @details You can use above define to set the condition of bookmark filter and order keyword.
+ * @since_tizen 4.0
  */
+#define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
 
 /**
- * @addtogroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
- * @{
- * @brief 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
+ * @brief Bookmark name.
+ * @details You can use above define to set the condition of bookmark filter and order keyword.
+ * @since_tizen 4.0
  */
-#define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"  /**< Bookmark marked time */
+#define BOOKMARK_NAME "BOOKMARK_NAME"
 
 /**
- * @}
+ * @deprecated Deprecated since 5.0.
+ * @brief Storage ID.
+ * @details You can use above define to set the condition of storage filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  */
+#define MEDIA_STORAGE_ID                                       "STORAGE_ID"
 
 /**
- * @addtogroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
- * @{
- * @brief You can use above define to set the condition of storage filter and order keyword.
- * @since_tizen 2.4
+ * @deprecated Deprecated since 5.0.
+ * @brief Storage path.
+ * @details You can use above define to set the condition of storage filter and order keyword.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  */
-#define MEDIA_STORAGE_ID                                       "STORAGE_ID"  /**< Storage ID */
+#define MEDIA_STORAGE_PATH                             "STORAGE_PATH"
 
 /**
- * @brief You can use above define to set the condition of storage filter and order keyword.
- * @since_tizen 2.4
+ * @brief Face tag.
+ * @details You can use above define to set the condition of face filter and order keyword.
+ * @since_tizen 3.0
  */
-#define MEDIA_STORAGE_PATH                             "STORAGE_PATH"  /**< Storage path */
+#define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
 
 /**
- * @brief You can use above define to set the condition of face filter and order keyword.
- * @since_tizen 3.0
+ * @brief Face id.
+ * @details You can use above define to set the condition of face filter and order keyword.
+ * @since_tizen 4.0
  */
-#define MEDIA_FACE_TAG                                         "MEDIA_FACE_TAG"        /**< face tag */
+#define MEDIA_FACE_ID  "MEDIA_FACE_ID"
 
 /**
  * @}
@@ -1228,4 +1264,4 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #endif /* __cplusplus */
 
 
-#endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/
+#endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/