[ACR-1102] Deprecate unusable user data 96/154696/3 accepted/tizen/unified/20171012.191744 submit/tizen/20171012.055141
authorMinje Ahn <minje.ahn@samsung.com>
Wed, 11 Oct 2017 06:15:46 +0000 (15:15 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 11 Oct 2017 06:47:22 +0000 (06:47 +0000)
Change-Id: I3c32091020733ec9bbee5eed89a8beb292a774d7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_content_type.h
include/media_info.h
include_product/media_content_type.h
include_product/media_info.h
src/media_info.c

index cf4f90f..3077cbc 100755 (executable)
@@ -174,13 +174,13 @@ typedef enum {
        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*/
+       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*/
-       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_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*/
+       MEDIA_CONTENT_GROUP_WEATHER,             /**< Media group ID for the weather (Deprecated since 4.0)*/
        MEDIA_CONTENT_GROUP_MAX                  /**< Invalid media group ID*/
 } media_group_e;
 
@@ -981,6 +981,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -998,6 +999,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1006,6 +1008,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1014,6 +1017,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1031,6 +1035,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1172,6 +1177,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1189,6 +1195,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1197,6 +1204,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1205,6 +1213,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
index 98e7914..90543ee 100755 (executable)
@@ -812,6 +812,7 @@ int media_info_get_latitude(media_info_h media, double* latitude);
 int media_info_get_altitude(media_info_h media, double* altitude);
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the weather of content file.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -825,7 +826,7 @@ int media_info_get_altitude(media_info_h media, double* altitude);
  * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
  * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
  */
-int media_info_get_weather(media_info_h media, char **weather);
+int media_info_get_weather(media_info_h media, char **weather) TIZEN_DEPRECATED_API;
 
 /**
  * @brief Gets the rating of content file.
@@ -880,6 +881,7 @@ int media_info_get_favorite(media_info_h media, bool* favorite);
 int media_info_get_author(media_info_h media, char **author) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the provider of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -897,7 +899,7 @@ int media_info_get_author(media_info_h media, char **author) TIZEN_DEPRECATED_AP
  *
  * @see media_info_set_provider()
  */
-int media_info_get_provider(media_info_h media, char **provider);
+int media_info_get_provider(media_info_h media, char **provider) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Redundant, use media_info_get_display_name() instead.
@@ -942,6 +944,7 @@ int media_info_get_content_name(media_info_h media, char **content_name) TIZEN_D
 int media_info_get_title(media_info_h media, char **title);
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the category of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -959,9 +962,10 @@ int media_info_get_title(media_info_h media, char **title);
  *
  * @see media_info_set_category()
  */
-int media_info_get_category(media_info_h media, char **category);
+int media_info_get_category(media_info_h media, char **category) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the location tag of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -979,9 +983,10 @@ int media_info_get_category(media_info_h media, char **category);
  *
  * @see media_info_set_location_tag()
  */
-int media_info_get_location_tag(media_info_h media, char **location_tag);
+int media_info_get_location_tag(media_info_h media, char **location_tag) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the age_rating of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -999,7 +1004,7 @@ int media_info_get_location_tag(media_info_h media, char **location_tag);
  *
  * @see media_info_set_age_rating()
  */
-int media_info_get_age_rating(media_info_h media, char **age_rating);
+int media_info_get_age_rating(media_info_h media, char **age_rating) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Use media_tag_insert_to_db() instead.
@@ -1286,6 +1291,7 @@ int media_info_set_latitude(media_info_h media, double latitude) TIZEN_DEPRECATE
 int media_info_set_altitude(media_info_h media, double altitude) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the weather of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1302,7 +1308,7 @@ int media_info_set_altitude(media_info_h media, double altitude) TIZEN_DEPRECATE
  * @post media_info_update_to_db().
  *
  */
-int media_info_set_weather(media_info_h media, const char *weather);
+int media_info_set_weather(media_info_h media, const char *weather) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
@@ -1360,6 +1366,7 @@ int media_info_set_favorite(media_info_h media, bool favorite);
 int media_info_set_author(media_info_h media, const char *author) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the provider of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1373,7 +1380,7 @@ int media_info_set_author(media_info_h media, const char *author) TIZEN_DEPRECAT
  * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
  * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
  */
-int media_info_set_provider(media_info_h media, const char *provider);
+int media_info_set_provider(media_info_h media, const char *provider) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Redundant, use media_info_move_to_db() instead.
@@ -1395,6 +1402,7 @@ int media_info_set_provider(media_info_h media, const char *provider);
 int media_info_set_content_name(media_info_h media, const char *content_name) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the category of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1410,9 +1418,10 @@ int media_info_set_content_name(media_info_h media, const char *content_name) TI
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_category(media_info_h media, const char *category);
+int media_info_set_category(media_info_h media, const char *category) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the location tag of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1428,9 +1437,10 @@ int media_info_set_category(media_info_h media, const char *category);
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_location_tag(media_info_h media, const char *location_tag);
+int media_info_set_location_tag(media_info_h media, const char *location_tag) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the age rating of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1446,7 +1456,7 @@ int media_info_set_location_tag(media_info_h media, const char *location_tag);
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_age_rating(media_info_h media, const char *age_rating);
+int media_info_set_age_rating(media_info_h media, const char *age_rating) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Use media_tag_insert_to_db() instead.
index 7149d80..7821fda 100755 (executable)
@@ -183,13 +183,13 @@ typedef enum {
        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*/
+       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*/
-       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_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*/
+       MEDIA_CONTENT_GROUP_WEATHER,             /**< Media group ID for the weather (Deprecated since 4.0)*/
        MEDIA_CONTENT_GROUP_MODIFIED_MONTH,              /**< Media group ID for the modified time*/
        MEDIA_CONTENT_GROUP_MODIFIED_DATE,               /**< Media group ID for the modified date*/
 #ifdef _USE_SENIOR_MODE
@@ -1047,6 +1047,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1064,6 +1065,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1072,6 +1074,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1080,6 +1083,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1097,6 +1101,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1238,6 +1243,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1255,6 +1261,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1263,6 +1270,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
@@ -1271,6 +1279,7 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
 #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
index 98e7914..90543ee 100755 (executable)
@@ -812,6 +812,7 @@ int media_info_get_latitude(media_info_h media, double* latitude);
 int media_info_get_altitude(media_info_h media, double* altitude);
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the weather of content file.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -825,7 +826,7 @@ int media_info_get_altitude(media_info_h media, double* altitude);
  * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
  * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
  */
-int media_info_get_weather(media_info_h media, char **weather);
+int media_info_get_weather(media_info_h media, char **weather) TIZEN_DEPRECATED_API;
 
 /**
  * @brief Gets the rating of content file.
@@ -880,6 +881,7 @@ int media_info_get_favorite(media_info_h media, bool* favorite);
 int media_info_get_author(media_info_h media, char **author) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the provider of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -897,7 +899,7 @@ int media_info_get_author(media_info_h media, char **author) TIZEN_DEPRECATED_AP
  *
  * @see media_info_set_provider()
  */
-int media_info_get_provider(media_info_h media, char **provider);
+int media_info_get_provider(media_info_h media, char **provider) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Redundant, use media_info_get_display_name() instead.
@@ -942,6 +944,7 @@ int media_info_get_content_name(media_info_h media, char **content_name) TIZEN_D
 int media_info_get_title(media_info_h media, char **title);
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the category of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -959,9 +962,10 @@ int media_info_get_title(media_info_h media, char **title);
  *
  * @see media_info_set_category()
  */
-int media_info_get_category(media_info_h media, char **category);
+int media_info_get_category(media_info_h media, char **category) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the location tag of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -979,9 +983,10 @@ int media_info_get_category(media_info_h media, char **category);
  *
  * @see media_info_set_location_tag()
  */
-int media_info_get_location_tag(media_info_h media, char **location_tag);
+int media_info_get_location_tag(media_info_h media, char **location_tag) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0.
  * @brief Gets the age_rating of content file which User set.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -999,7 +1004,7 @@ int media_info_get_location_tag(media_info_h media, char **location_tag);
  *
  * @see media_info_set_age_rating()
  */
-int media_info_get_age_rating(media_info_h media, char **age_rating);
+int media_info_get_age_rating(media_info_h media, char **age_rating) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Use media_tag_insert_to_db() instead.
@@ -1286,6 +1291,7 @@ int media_info_set_latitude(media_info_h media, double latitude) TIZEN_DEPRECATE
 int media_info_set_altitude(media_info_h media, double altitude) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the weather of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1302,7 +1308,7 @@ int media_info_set_altitude(media_info_h media, double altitude) TIZEN_DEPRECATE
  * @post media_info_update_to_db().
  *
  */
-int media_info_set_weather(media_info_h media, const char *weather);
+int media_info_set_weather(media_info_h media, const char *weather) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
@@ -1360,6 +1366,7 @@ int media_info_set_favorite(media_info_h media, bool favorite);
 int media_info_set_author(media_info_h media, const char *author) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the provider of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1373,7 +1380,7 @@ int media_info_set_author(media_info_h media, const char *author) TIZEN_DEPRECAT
  * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
  * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
  */
-int media_info_set_provider(media_info_h media, const char *provider);
+int media_info_set_provider(media_info_h media, const char *provider) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Redundant, use media_info_move_to_db() instead.
@@ -1395,6 +1402,7 @@ int media_info_set_provider(media_info_h media, const char *provider);
 int media_info_set_content_name(media_info_h media, const char *content_name) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the category of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1410,9 +1418,10 @@ int media_info_set_content_name(media_info_h media, const char *content_name) TI
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_category(media_info_h media, const char *category);
+int media_info_set_category(media_info_h media, const char *category) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the location tag of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1428,9 +1437,10 @@ int media_info_set_category(media_info_h media, const char *category);
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_location_tag(media_info_h media, const char *location_tag);
+int media_info_set_location_tag(media_info_h media, const char *location_tag) TIZEN_DEPRECATED_API;
 
 /**
+ * @deprecated Deprecated since 4.0. This data cannot be saved to the file.
  * @brief Sets the age rating of media info.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
@@ -1446,7 +1456,7 @@ int media_info_set_location_tag(media_info_h media, const char *location_tag);
  *
  * @post media_info_update_to_db()
  */
-int media_info_set_age_rating(media_info_h media, const char *age_rating);
+int media_info_set_age_rating(media_info_h media, const char *age_rating) TIZEN_DEPRECATED_API;
 
 /**
  * @deprecated Deprecated since 4.0. Use media_tag_insert_to_db() instead.
index 89507a1..3c6029f 100755 (executable)
@@ -1978,6 +1978,7 @@ int media_info_get_altitude(media_info_h media, double *altitude)
 int media_info_get_weather(media_info_h media, char **weather)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_get_weather() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media && weather) {
@@ -2053,6 +2054,7 @@ int media_info_get_author(media_info_h media, char **author)
 int media_info_get_provider(media_info_h media, char **provider)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_get_provider() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media && provider) {
@@ -2096,6 +2098,7 @@ int media_info_get_content_name(media_info_h media, char **content_name)
 int media_info_get_category(media_info_h media, char **category)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_get_category() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media && category) {
@@ -2117,6 +2120,7 @@ int media_info_get_category(media_info_h media, char **category)
 int media_info_get_location_tag(media_info_h media, char **location_tag)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_get_location_tag() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media && location_tag) {
@@ -2138,6 +2142,7 @@ int media_info_get_location_tag(media_info_h media, char **location_tag)
 int media_info_get_age_rating(media_info_h media, char **age_rating)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_get_age_rating() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media && age_rating) {
@@ -2618,6 +2623,7 @@ int media_info_set_altitude(media_info_h media, double altitude)
 int media_info_set_weather(media_info_h media, const char *weather)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_set_weather() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media != NULL) {
@@ -2712,6 +2718,7 @@ int media_info_set_author(media_info_h media, const char *author)
 int media_info_set_provider(media_info_h media, const char *provider)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_set_provider() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media != NULL) {
@@ -2757,6 +2764,7 @@ int media_info_set_content_name(media_info_h media, const char *content_name)
 int media_info_set_category(media_info_h media, const char *category)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_set_category() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media != NULL) {
@@ -2779,6 +2787,7 @@ int media_info_set_category(media_info_h media, const char *category)
 int media_info_set_location_tag(media_info_h media, const char *location_tag)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_set_location_tag() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media != NULL) {
@@ -2801,6 +2810,7 @@ int media_info_set_location_tag(media_info_h media, const char *location_tag)
 int media_info_set_age_rating(media_info_h media, const char *age_rating)
 {
        int ret = MEDIA_CONTENT_ERROR_NONE;
+       media_content_warn("DEPRECATION WARNING: media_info_set_age_rating() is deprecated and will be removed from next release.");
        media_info_s *_media = (media_info_s*)media;
 
        if (_media != NULL) {