[ACR-1692] Deprecate pinyin filter keyword
[platform/core/api/media-content.git] / include_product / media_content_type.h
index 1533e06..a8c3f19 100755 (executable)
@@ -43,18 +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_PVR                  = 5,            /**<The type of PVR */
-       MEDIA_CONTENT_TYPE_UHD                  = 6,            /**<The type of UHD */
-       MEDIA_CONTENT_TYPE_SCSA                 = 7,            /**<The type of SCSA */
+       MEDIA_CONTENT_TYPE_BOOK         = 5,    /**<The type of book (Since 6.5)*/
+       MEDIA_CONTENT_TYPE_PVR          = 1001, /**<The type of PVR */
+       MEDIA_CONTENT_TYPE_UHD          = 1002, /**<The type of UHD */
+       MEDIA_CONTENT_TYPE_SCSA         = 1003, /**<The type of SCSA */
 } media_content_type_e;
 
 /**
@@ -78,6 +79,7 @@ typedef enum {
 typedef enum {
        MEDIA_ITEM_FILE         = 0,            /**< File type, an item updated to DB */
        MEDIA_ITEM_DIRECTORY    = 1,            /**< Directory type, an item updated to DB */
+       MEDIA_ITEM_STORAGE      = 2,            /**< Storage type, an item updated to DB */
 } media_content_db_update_item_type_e;
 
 /**
@@ -305,6 +307,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
@@ -1054,6 +1063,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1065,6 +1075,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
@@ -1076,6 +1087,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
@@ -1087,6 +1099,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
@@ -1098,6 +1111,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
@@ -1109,6 +1123,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
@@ -1120,6 +1135,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
@@ -1194,6 +1210,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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