Version Up
[platform/core/api/media-content.git] / include / media_content_type.h
index 36cd9b3..204b80c 100755 (executable)
@@ -30,7 +30,7 @@ extern "C" {
  * @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.
  */
 
 /**
@@ -43,32 +43,19 @@ extern "C" {
  * @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.
+ *          %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
- * @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
- */
-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 @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
-       MEDIA_CONTENT_STORAGE_CLOUD     = 100,  /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
-} media_content_storage_e;
-
-/**
  * @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
@@ -181,17 +168,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 (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_RATING,              /**< Media group ID for a rating*/
-       MEDIA_CONTENT_GROUP_AUTHOR,              /**< Media group ID for an author (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_PROVIDER,            /**< Media group ID for a provider (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_CONTENT_NAME,        /**< Media group ID for the content name (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_CATEGORY,            /**< Media group ID for a category (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_LOCATION_TAG,        /**< Media group ID for a location tag (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_AGE_RATING,          /**< Media group ID for an age rating (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_KEYWORD,             /**< Media group ID for a keyword (Deprecated since 4.0)*/
-       MEDIA_CONTENT_GROUP_WEATHER,             /**< Media group ID for the weather (Deprecated since 4.0)*/
-       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;
 
 /**
@@ -237,7 +215,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
  */
@@ -258,6 +236,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
@@ -265,14 +250,7 @@ typedef struct audio_meta_s *audio_meta_h;
 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 @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- */
-typedef void *media_storage_h;
-
-/**
+ * @deprecated Deprecated since 8.0.
  * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
  * @brief The structure type for the Media face handle.
  * @since_tizen 3.0
@@ -280,7 +258,7 @@ typedef void *media_storage_h;
 typedef void *media_face_h;
 
 /**
- * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
+ * @ingroup CAPI_MEDIA_CONTENT_MODULE
  * @brief The structure type for the Media content noti handle.
  * @since_tizen 3.0
  */
@@ -323,7 +301,7 @@ typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user
  * @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] id The ID 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
@@ -337,7 +315,7 @@ typedef void (*media_content_db_update_cb)(
                                media_content_db_update_item_type_e update_item,
                                media_content_db_update_type_e update_type,
                                media_content_type_e media_type,
-                               char *uuid,
+                               char *id,
                                char *path,
                                char *mime_type,
                                void *user_data);
@@ -396,60 +374,8 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data);
  */
 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
 
-
-/**
- * @deprecated Deprecated since 4.0.
- * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
- * @brief Called when the burst shot is 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
- * @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_info_insert_burst_shot_to_db()
- * @see media_info_insert_burst_shot_to_db()
- *
- */
-typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
-
-
-/**
- * @deprecated Deprecated since 5.0.
- * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
- * @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
- *
- * @remarks The callback is called in a separate thread(not in the main loop).
- *
- * @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_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
-
 /**
+ * @deprecated Deprecated since 8.0.
  * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
  * @brief Called when face detection on the image is completed.
  *
@@ -634,28 +560,7 @@ typedef bool (*media_album_cb)(media_album_h album, void *user_data);
 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.
- * @details Iterates over a media storage list.
- *
- * @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
- *
- * @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);
-
-/**
+ * @deprecated Deprecated since 8.0.
  * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
  * @brief Called for every face in the obtained list of face.
  * @details Iterates over a media face list.
@@ -833,14 +738,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
 
 /**
- * @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_COPYRIGHT "MEDIA_COPYRIGHT"
-
-/**
  * @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
@@ -849,46 +746,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
 
 /**
- * @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_DESCRIPTION "MEDIA_DESCRIPTION"
-
-/**
- * @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_BITRATE "MEDIA_BITRATE"
-
-/**
- * @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_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
-
-/**
- * @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_SAMPLERATE "MEDIA_SAMPLERATE"
-
-/**
- * @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_CHANNEL "MEDIA_CHANNEL"
-
-/**
  * @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
@@ -945,58 +802,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
 
 /**
- * @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_ORIENTATION "MEDIA_ORIENTATION"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media burst 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_BURST_ID "BURST_ID"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media playedcount.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media last played 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_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media last played position of file.
- * @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"
-
-/**
- * @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_RATING "MEDIA_RATING"
-
-/**
  * @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
@@ -1005,78 +810,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
 
 /**
- * @deprecated Deprecated since 4.0.
- * @brief Media author.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media provider.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media content 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_CONTENT_NAME "MEDIA_CONTENT_NAME"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media category.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media location tag.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media age 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_AGE_RATING "MEDIA_AGE_RATING"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media keyword.
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media weather.
- * @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"
-
-/**
  * @brief Is DRM.
  * @details There are 2 types:\n
  *               0-not drm, 1-drm\n
@@ -1087,49 +820,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
 
 /**
- * @deprecated Deprecated since 5.0.
- * @brief Media storage.
- * @details There are 2 types:\n
- *               0-internal storage, 1-external 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"
-
-/**
- * @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"
-
-/**
- * @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"
-
-/**
- * @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"
-
-/**
- * @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"
-
-/**
+ * @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
@@ -1141,6 +832,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
 
 /**
+ * @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
@@ -1152,6 +844,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
 
 /**
+ * @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
@@ -1163,6 +856,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
 
 /**
+ * @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
@@ -1174,6 +868,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
 
 /**
+ * @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
@@ -1185,6 +880,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
 
 /**
+ * @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
@@ -1196,6 +892,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
 
 /**
+ * @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
@@ -1207,112 +904,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
 
 /**
- * @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"
-
-/**
- * @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"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media author 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_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media provider 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_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media content 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_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media category 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_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media location tag 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_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media age rating 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_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Media keyword 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_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
-
-/**
  * @brief Virtual Reality content.
  * @details You can use above define to set the condition of media filter and order keyword.
  * @since_tizen 3.0
@@ -1342,24 +933,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define FOLDER_NAME "FOLDER_NAME"
 
 /**
- * @deprecated Deprecated since 4.0.
- * @brief Folder modified time.
- * @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 FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
-
-/**
- * @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 FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
-
-/**
+ * @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
@@ -1370,22 +944,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
 
 /**
- * @deprecated Deprecated since 4.0.
- * @brief Folder order info.
- * @details You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- */
-#define FOLDER_ORDER "FOLDER_ORDER"
-
-/**
- * @deprecated Deprecated since 4.0.
- * @brief Parent folder id.
- * @details You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- */
-#define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
-
-/**
  * @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
@@ -1456,22 +1014,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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"
-
-/**
- * @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_PATH                             "STORAGE_PATH"
-
-/**
+ * @deprecated Deprecated since 8.0.
  * @brief Face tag.
  * @details You can use above define to set the condition of face filter and order keyword.
  * @since_tizen 3.0
@@ -1479,6 +1022,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Face id.
  * @details You can use above define to set the condition of face filter and order keyword.
  * @since_tizen 4.0