[ACR-1692] Deprecate pinyin filter keyword
[platform/core/api/media-content.git] / include_product / media_content_type.h
index 67360a4..a8c3f19 100755 (executable)
 extern "C" {
 #endif /* __cplusplus */
 
-#if 0
-#ifndef _USE_SENIOR_MODE
-#define _USE_SENIOR_MODE
-#endif
-#endif
-
 /**
  * @file media_content_type.h
  * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
@@ -49,22 +43,23 @@ 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;
 
 /**
- * @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.
@@ -84,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;
 
 /**
@@ -192,9 +188,6 @@ typedef enum {
        MEDIA_CONTENT_GROUP_RATING = 20,              /**< Media group ID for a rating*/
        MEDIA_CONTENT_GROUP_MODIFIED_MONTH = 29,                 /**< Media group ID for the modified time*/
        MEDIA_CONTENT_GROUP_MODIFIED_DATE,               /**< Media group ID for the modified date*/
-#ifdef _USE_SENIOR_MODE
-       MEDIA_CONTENT_GROUP_CONTACT,
-#endif
        MEDIA_CONTENT_GROUP_ALBUM,
        MEDIA_CONTENT_GROUP_MAX,                /**< Invalid media group ID*/
        MEDIA_PVR_GROUP_DURATION,
@@ -293,7 +286,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
  */
@@ -314,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
@@ -336,7 +336,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
  */
@@ -1018,8 +1018,8 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 /**
  * @deprecated Deprecated since 5.0.
  * @brief Media storage.
- * @details There are 2 types:\n
- *               0-internal storage, 1-external storage\n
+ * @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
  *
@@ -1063,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
@@ -1074,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
@@ -1085,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
@@ -1096,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
@@ -1107,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
@@ -1118,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
@@ -1129,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
@@ -1203,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