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;
#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_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_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_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
#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
#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
#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
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
*
* @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.
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
*
*
* @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.
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
*
*
* @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
*
*
* @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
*
*
* @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.
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
*
* @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.
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
*
* @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.
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
*
*
* @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
*
*
* @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
*
*
* @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.
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
#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_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_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_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
#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
#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
#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
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
*
* @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.
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
*
*
* @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.
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
*
*
* @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
*
*
* @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
*
*
* @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.
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
*
* @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.
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
*
* @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.
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
*
*
* @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
*
*
* @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
*
*
* @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.
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) {
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) {
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) {
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) {
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) {
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) {
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) {
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) {
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) {
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) {