[ACR-1249] Deprecate APIs related with storage id and type
[platform/core/api/media-content.git] / include_product / media_content_type.h
1 /*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 #ifndef __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
20
21 #include <time.h>
22 #include <tizen.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* __cplusplus */
27
28 #if 0
29 #ifndef _USE_SENIOR_MODE
30 #define _USE_SENIOR_MODE
31 #endif
32 #endif
33
34 /**
35  * @file media_content_type.h
36  * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
37  *        classes of errors and definitions of media-data. \n
38  *        Listed APIs are called when iterating over lists of album, group, bookmark and other media,  \n
39  *        when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
40  */
41
42 /**
43 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
44  * @{
45  */
46
47 /**
48  * @ingroup CAPI_MEDIA_CONTENT_MODULE
49  * @brief Enumeration for the media file format.
50  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
51  * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
52  *              %http://tizen.org/feature/content.scanning.others\n
53  *              If this feature is not supported on the device, #MEDIA_CONTENT_TYPE_OTHERS type file is not scanned.
54  */
55 typedef enum {
56         MEDIA_CONTENT_TYPE_IMAGE                = 0,    /**<The type of an image */
57         MEDIA_CONTENT_TYPE_VIDEO                = 1,    /**<The type of a video */
58         MEDIA_CONTENT_TYPE_SOUND        = 2,    /**<The type of sound */
59         MEDIA_CONTENT_TYPE_MUSIC                = 3,    /**<The type of music */
60         MEDIA_CONTENT_TYPE_OTHERS       = 4,    /**<The type of other */
61         MEDIA_CONTENT_TYPE_PVR                  = 5,            /**<The type of PVR */
62         MEDIA_CONTENT_TYPE_UHD                  = 6,            /**<The type of UHD */
63         MEDIA_CONTENT_TYPE_SCSA                 = 7,            /**<The type of SCSA */
64 } media_content_type_e;
65
66 /**
67  * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
68  * @deprecated Deprecated since 5.0.
69  * @brief Enumeration for the storage type.
70  * @details This information is used to establish where the folder is.
71  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
72  */
73 typedef enum {
74         MEDIA_CONTENT_STORAGE_INTERNAL  = 0,    /**< The device's internal storage */
75         MEDIA_CONTENT_STORAGE_EXTERNAL  = 1,    /**< The device's external storage like sd card*/
76         MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
77         MEDIA_CONTENT_STORAGE_CLOUD     = 100,  /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
78 } media_content_storage_e;
79
80 /**
81  * @ingroup CAPI_MEDIA_CONTENT_MODULE
82  * @brief Enumeration for media content DB update items.
83  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
84  */
85 typedef enum {
86         MEDIA_ITEM_FILE         = 0,            /**< File type, an item updated to DB */
87         MEDIA_ITEM_DIRECTORY    = 1,            /**< Directory type, an item updated to DB */
88 } media_content_db_update_item_type_e;
89
90 /**
91  * @ingroup CAPI_MEDIA_CONTENT_MODULE
92  * @brief Enumeration for media content DB update types.
93  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
94  */
95 typedef enum {
96         MEDIA_CONTENT_INSERT            = 0,            /**< Insert, the type of DB update */
97         MEDIA_CONTENT_DELETE            = 1,            /**< Delete, The type of DB update */
98         MEDIA_CONTENT_UPDATE    = 2,            /**< Update, The type of DB update */
99 } media_content_db_update_type_e;
100
101 /**
102  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
103  * @brief Enumeration for orientation types.
104  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
105  */
106 typedef enum {
107         MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE  = 0,       /**< Not available*/
108         MEDIA_CONTENT_ORIENTATION_NORMAL         = 1,       /**< Normal*/
109         MEDIA_CONTENT_ORIENTATION_HFLIP          = 2,       /**< Flip horizontal*/
110         MEDIA_CONTENT_ORIENTATION_ROT_180        = 3,       /**< Rotate 180 degrees*/
111         MEDIA_CONTENT_ORIENTATION_VFLIP          = 4,       /**< Flip vertical*/
112         MEDIA_CONTENT_ORIENTATION_TRANSPOSE      = 5,       /**< Transpose*/
113         MEDIA_CONTENT_ORIENTATION_ROT_90         = 6,       /**< Rotate 90 degrees*/
114         MEDIA_CONTENT_ORIENTATION_TRANSVERSE     = 7,       /**< Transverse*/
115         MEDIA_CONTENT_ORIENTATION_ROT_270        = 8,       /**< Rotate 270 degrees*/
116 } media_content_orientation_e;
117
118 /**
119  * @ingroup CAPI_MEDIA_CONTENT_MODULE
120  * @brief Enumeration for ordering.
121  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
122  */
123 typedef enum {
124         MEDIA_CONTENT_ORDER_ASC   = 0,      /**< Ascending order*/
125         MEDIA_CONTENT_ORDER_DESC  = 1,      /**< Descending order*/
126         MEDIA_CONTENT_ORDER_OTHER = 2,          /**< order by order key**/
127 } media_content_order_e;
128
129 /**
130  * @ingroup CAPI_MEDIA_CONTENT_MODULE
131  * @brief Enumeration for collations.
132  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
133  */
134 typedef enum {
135         MEDIA_CONTENT_COLLATE_DEFAULT   = 0,        /**< Default collation BINARY */
136         MEDIA_CONTENT_COLLATE_NOCASE    = 1,        /**< Collation NOCASE, not case sensitive */
137         MEDIA_CONTENT_COLLATE_RTRIM     = 2,        /**< Collation RTRIM, trailing space characters are ignored */
138         MEDIA_CONTENT_COLLATE_LOCALIZED = 3,        /**< Collation LOCALIZATION, NOCASE also applied */
139 } media_content_collation_e;
140
141 /**
142 * @brief Error class.
143 * @details Class for Media Content error
144 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
145 *
146 */
147 #define MEDIA_CONTENT_ERROR_CLASS                               TIZEN_ERROR_MEDIA_CONTENT
148
149 /**
150  * @ingroup CAPI_MEDIA_CONTENT_MODULE
151  * @brief Enumeration for a media content error.
152  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
153  */
154 typedef enum {
155         MEDIA_CONTENT_ERROR_NONE                    = TIZEN_ERROR_NONE,                    /**< Successful */
156         MEDIA_CONTENT_ERROR_INVALID_PARAMETER       = TIZEN_ERROR_INVALID_PARAMETER,       /**< Invalid parameter */
157         MEDIA_CONTENT_ERROR_OUT_OF_MEMORY           = TIZEN_ERROR_OUT_OF_MEMORY,           /**< Out of memory */
158         MEDIA_CONTENT_ERROR_INVALID_OPERATION       = TIZEN_ERROR_INVALID_OPERATION,       /**< Invalid Operation */
159         MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE       = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
160         MEDIA_CONTENT_ERROR_PERMISSION_DENIED             = TIZEN_ERROR_PERMISSION_DENIED,                /**< Permission denied */
161         MEDIA_CONTENT_ERROR_DB_FAILED               = MEDIA_CONTENT_ERROR_CLASS | 0x01,    /**< DB operation failed */
162         MEDIA_CONTENT_ERROR_DB_BUSY                 = MEDIA_CONTENT_ERROR_CLASS | 0x02,    /**< DB operation BUSY */
163         MEDIA_CONTENT_ERROR_NETWORK                 = MEDIA_CONTENT_ERROR_CLASS | 0x03,    /**< Network Fail */
164         MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT     = MEDIA_CONTENT_ERROR_CLASS | 0x04,    /**< Unsupported Content */
165         MEDIA_CONTENT_ERROR_NOT_SUPPORTED           = TIZEN_ERROR_NOT_SUPPORTED,           /**< Not supported */
166 } media_content_error_e;
167
168 /**
169  * @ingroup CAPI_MEDIA_CONTENT_MODULE
170  * @brief Enumeration for a media group.
171  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
172  */
173 typedef enum {
174         MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0,    /**< Media group ID for display name */
175         MEDIA_CONTENT_GROUP_TYPE,                /**< Media group ID for a media type */
176         MEDIA_CONTENT_GROUP_MIME_TYPE,           /**< Media group ID for a mime type */
177         MEDIA_CONTENT_GROUP_SIZE,                /**< Media group ID for content size */
178         MEDIA_CONTENT_GROUP_ADDED_TIME,          /**< Media group ID for the added time */
179         MEDIA_CONTENT_GROUP_MODIFIED_TIME,       /**< Media group ID for the modified time */
180         MEDIA_CONTENT_GROUP_TITLE,               /**< Media group ID for a content title */
181         MEDIA_CONTENT_GROUP_ARTIST,              /**< Media group ID for an artist*/
182         MEDIA_CONTENT_GROUP_ALBUM_ARTIST,        /**< Media group ID for an album artist */
183         MEDIA_CONTENT_GROUP_GENRE,               /**< Media group ID for a genre*/
184         MEDIA_CONTENT_GROUP_COMPOSER,            /**< Media group ID for a composer*/
185         MEDIA_CONTENT_GROUP_YEAR,                /**< Media group ID for a year*/
186         MEDIA_CONTENT_GROUP_RECORDED_DATE,       /**< Media group ID for the recorded date*/
187         MEDIA_CONTENT_GROUP_COPYRIGHT,           /**< Media group ID for the copyright*/
188         MEDIA_CONTENT_GROUP_TRACK_NUM,           /**< Media group ID for a track number*/
189         MEDIA_CONTENT_GROUP_DESCRIPTION,         /**< Media group ID for a description */
190         MEDIA_CONTENT_GROUP_LONGITUDE,           /**< Media group ID for the longitude*/
191         MEDIA_CONTENT_GROUP_LATITUDE,            /**< Media group ID for the latitude*/
192         MEDIA_CONTENT_GROUP_ALTITUDE,            /**< Media group ID for the altitude*/
193         MEDIA_CONTENT_GROUP_BURST_IMAGE,         /**< Media group ID for the burst shot (Deprecated since 4.0)*/
194         MEDIA_CONTENT_GROUP_RATING,              /**< Media group ID for a rating*/
195         MEDIA_CONTENT_GROUP_AUTHOR,              /**< Media group ID for an author (Deprecated since 4.0)*/
196         MEDIA_CONTENT_GROUP_PROVIDER,            /**< Media group ID for a provider (Deprecated since 4.0)*/
197         MEDIA_CONTENT_GROUP_CONTENT_NAME,        /**< Media group ID for the content name (Deprecated since 4.0)*/
198         MEDIA_CONTENT_GROUP_CATEGORY,            /**< Media group ID for a category (Deprecated since 4.0)*/
199         MEDIA_CONTENT_GROUP_LOCATION_TAG,        /**< Media group ID for a location tag (Deprecated since 4.0)*/
200         MEDIA_CONTENT_GROUP_AGE_RATING,          /**< Media group ID for an age rating (Deprecated since 4.0)*/
201         MEDIA_CONTENT_GROUP_KEYWORD,             /**< Media group ID for a keyword (Deprecated since 4.0)*/
202         MEDIA_CONTENT_GROUP_WEATHER,             /**< Media group ID for the weather (Deprecated since 4.0)*/
203         MEDIA_CONTENT_GROUP_MODIFIED_MONTH,              /**< Media group ID for the modified time*/
204         MEDIA_CONTENT_GROUP_MODIFIED_DATE,               /**< Media group ID for the modified date*/
205 #ifdef _USE_SENIOR_MODE
206         MEDIA_CONTENT_GROUP_CONTACT,
207 #endif
208         MEDIA_CONTENT_GROUP_ALBUM,
209         MEDIA_CONTENT_GROUP_MAX,                /**< Invalid media group ID*/
210         MEDIA_PVR_GROUP_DURATION,
211         MEDIA_PVR_GROUP_TIME_ZONE,
212         MEDIA_PVR_GROUP_PTC,
213         MEDIA_PVR_GROUP_MAJOR,
214         MEDIA_PVR_GROUP_MINOR,
215         MEDIA_PVR_GROUP_CHANNEL_TYPE,
216         MEDIA_PVR_GROUP_CHANNEL_NAME,
217         MEDIA_PVR_GROUP_CHANNEL_NUM,
218         MEDIA_PVR_GROUP_PROGRAM_TITLE,
219         MEDIA_PVR_GROUP_PROGRAM_NUM,
220         MEDIA_PVR_GROUP_PROGRAM_CRID,
221         MEDIA_PVR_GROUP_GUIDANCE,
222         MEDIA_PVR_GROUP_SYNOPSIS,
223         MEDIA_PVR_GROUP_GENRE,
224         MEDIA_PVR_GROUP_LANGUAGE,
225         MEDIA_PVR_GROUP_EMBARGO_TIME,
226         MEDIA_PVR_GROUP_EXPIRY_TIME,
227         MEDIA_PVR_GROUP_START_TIME,
228         MEDIA_PVR_GROUP_PROGRAM_START_TIME,
229         MEDIA_PVR_GROUP_PROGRAM_END_TIME,
230         MEDIA_PVR_GROUP_PROGRAM_DATE,
231         MEDIA_PVR_GROUP_PARENTAL_RATING,
232         MEDIA_PVR_GROUP_TIMER_RECORD,
233         MEDIA_PVR_GROUP_SERIES_RECORD,
234         MEDIA_PVR_GROUP_HD,
235         MEDIA_PVR_GROUP_SUBTITLE,
236         MEDIA_PVR_GROUP_TTX,
237         MEDIA_PVR_GROUP_AD,
238         MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
239         MEDIA_PVR_GROUP_DATA_SERVICE,
240         MEDIA_PVR_GROUP_CONTENT_LOCK,
241         MEDIA_PVR_GROUP_CONTENT_WATCH,
242         MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
243         MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
244         MEDIA_PVR_GROUP_RESOLUTION,
245         MEDIA_PVR_GROUP_ASPECTRATIO,
246         MEDIA_PVR_GROUP_MODIFIED_MONTH,
247         MEDIA_PVR_GROUP_MODIFIED_DATE,
248         MEDIA_PVR_GROUP_SPORTS_TYPE,
249         MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
250         MEDIA_PVR_GROUP_TVMODE,
251         MEDIA_PVR_GROUP_PLAY_COUNT,
252         MEDIA_PVR_GROUP_PRIVATE_DATA,
253         MEDIA_PVR_GROUP_MAX,
254         MEDIA_UHD_GROUP_CONTENT_TITLE,
255         MEDIA_UHD_GROUP_RELEASE_DATE,
256         MEDIA_UHD_GROUP_SUB_TYPE,
257         MEDIA_UHD_GROUP_FILE_NAME,
258         MEDIA_UHD_GROUP_PLAYED_COUNT,
259         MEDIA_UHD_GROUP_MAX,
260         MEDIA_GROUP_MAX,
261 } media_group_e;
262
263 /**
264  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
265  * @brief The structure type for the Media info handle.
266  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
267  */
268 typedef struct media_info_s *media_info_h;
269
270 /**
271  * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
272  * @brief The structure type for the Media folder handle.
273  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
274  */
275 typedef struct media_folder_s *media_folder_h;
276
277 /**
278  * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
279  * @brief The structure type for the Media playlist handle.
280  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
281  */
282 typedef struct media_playlist_s *media_playlist_h;
283
284 /**
285  * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
286  * @brief The structure type for the Media tag handle.
287  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
288  */
289 typedef struct media_tag_s *media_tag_h;
290
291 /**
292  * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
293  * @brief The structure type for the Media bookmark handle.
294  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
295  */
296 typedef struct media_bookmark_s *media_bookmark_h;
297
298 /**
299  * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
300  * @brief The structure type for the Media album handle.
301  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
302  */
303 typedef struct media_album_s *media_album_h;
304
305 /**
306  * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
307  * @brief The structure type for the Image metadata handle.
308  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
309  */
310 typedef struct image_meta_s *image_meta_h;
311
312 /**
313  * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
314  * @brief The structure type for the Video metadata handle.
315  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
316  */
317 typedef struct video_meta_s *video_meta_h;
318
319 /**
320  * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
321  * @brief The structure type for the Audio metadata handle.
322  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
323  */
324 typedef struct audio_meta_s *audio_meta_h;
325
326 /**
327  * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
328  * @brief The structure type for the Media filter handle.
329  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
330  */
331 typedef struct filter_s *filter_h;
332
333 /**
334  * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
335  * @deprecated Deprecated since 5.0.
336  * @brief The structure type for the Media storage handle.
337  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
338  */
339 typedef void *media_storage_h;
340
341 /**
342  * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
343  * @brief The structure type for the Media face handle.
344  * @since_tizen 3.0
345  */
346 typedef void *media_face_h;
347
348 /**
349  * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
350  * @brief The structure type for the Media content noti handle.
351  * @since_tizen 3.0
352  */
353 typedef void *media_content_noti_h;
354
355 /**
356  * @ingroup CAPI_MEDIA_CONTENT_MODULE
357  * @brief Called when the media scanning is finished.
358  * @details The following error codes can be received: \n
359  *             #MEDIA_CONTENT_ERROR_NONE : Success \n
360  *             #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
361  *             #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
362  *             #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
363  *             #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
364  *             #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
365  *             #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
366  *             #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
367  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
368  * @remarks The callback is called in a separate thread(not in the main loop).
369  *
370  * @param[in] error The error code
371  * @param[in] user_data The user data passed from the foreach function
372  *
373  * @pre media_content_scan_folder().
374  * @see media_content_scan_folder()
375  */
376 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
377
378 /**
379  * @ingroup CAPI_MEDIA_CONTENT_MODULE
380  * @brief Called when the notification of the media DB change is subscribed.
381  * @details The following error codes can be received: \n
382  *             #MEDIA_CONTENT_ERROR_NONE : Success \n
383  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
384  *
385  * @remarks The callback is called in a separate thread(not in the main loop).
386  *
387  * @param[in] error The error code
388  * @param[in] pid The PID which publishes notification
389  * @param[in] update_item The update item of notification
390  * @param[in] update_type The update type of notification
391  * @param[in] media_type The type of the media content (#media_content_type_e)
392  * @param[in] uuid The UUID of media or directory, which is updated
393  * @param[in] path The path of the media or directory
394  * @param[in] mime_type The MIME of the media info
395  * @param[in] user_data The user data passed from the foreach function
396  *
397  * @pre media_content_add_db_updated_cb().
398  * @see media_content_add_db_updated_cb()
399  */
400 typedef void (*media_content_db_update_cb)(
401                                 media_content_error_e error,
402                                 int pid,
403                                 media_content_db_update_item_type_e update_item,
404                                 media_content_db_update_type_e update_type,
405                                 media_content_type_e media_type,
406                                 char *uuid,
407                                 char *path,
408                                 char *mime_type,
409                                 void *user_data);
410
411
412 /**
413  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
414  * @brief Called for every available media info.
415  * @details Iterates over a list of media info.
416  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
417  *
418  * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
419  *                  The callback is called in the main loop.
420  *
421  * @param[in] media The handle to the media info
422  * @param[in] user_data The user data passed from the foreach function
423  *
424  * @return @c true to continue with the next iteration of the loop,
425  *         otherwise @c false to break out of the loop
426  *
427  * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
428  *      media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
429  *
430  * @see media_info_clone()
431  * @see media_album_foreach_media_from_db()
432  * @see media_playlist_foreach_media_from_db()
433  * @see media_tag_foreach_media_from_db()
434  * @see media_info_foreach_media_from_db()
435  * @see media_folder_foreach_media_from_db()
436  */
437 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
438
439
440 /**
441  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
442  * @brief Called when media items are inserted completely.
443  * @details The following error codes can be received: \n
444  *             #MEDIA_CONTENT_ERROR_NONE : Success \n
445  *             #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
446  *             #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
447  *             #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
448  *             #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
449  *             #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
450  *             #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
451  *             #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
452  *             #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
453  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
454  *
455  * @remarks The callback is called in a separate thread(not in the main loop).
456  *
457  * @param[in] error The error code
458  * @param[in] user_data The user data passed from the foreach function
459  *
460  * @pre media_info_insert_batch_to_db()
461  * @see media_info_insert_batch_to_db()
462  */
463 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
464
465
466 /**
467  * @deprecated Deprecated since 4.0.
468  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
469  * @brief Called when the burst shot is inserted completely.
470  * @details The following error codes can be received: \n
471  *             #MEDIA_CONTENT_ERROR_NONE : Success \n
472  *             #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
473  *             #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
474  *             #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
475  *             #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
476  *             #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
477  *             #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
478  *             #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
479  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
480  *
481  * @remarks The callback is called in a separate thread(not in the main loop).
482  *
483  * @param[in] error The error code
484  * @param[in] user_data The user data passed from the foreach function
485  *
486  * @pre media_info_insert_burst_shot_to_db()
487  * @see media_info_insert_burst_shot_to_db()
488  *
489  */
490 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
491
492
493 /**
494  * @deprecated Deprecated since 5.0.
495  * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
496  * @brief Called when creating a thumbnail image.
497  * @details This callback is called for completion of generating the thumbnail image.
498  *         The following error codes can be delivered. \n
499  *         #MEDIA_CONTENT_ERROR_NONE, \n
500  *         #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
501  *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
502  *         #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
503  *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
504  *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
505  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
506  *
507  * @remarks The callback is called in a separate thread(not in the main loop).
508  *
509  * @param[in] error The error code
510  * @param[in] path The path of the thumbnail which is generated
511  * @param[in] user_data The user data passed from the foreach function
512  *
513  * @pre media_info_create_thumbnail()
514  * @see media_info_create_thumbnail()
515  */
516 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
517
518 /**
519  * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
520  * @brief Called when face detection on the image is completed.
521  *
522  * @details The following error codes can be delivered. \n
523  *         #MEDIA_CONTENT_ERROR_NONE, \n
524  *         #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
525  *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
526  *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
527  *         #MEDIA_CONTENT_ERROR_DB_BUSY, \n
528  *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
529  *
530  * @since_tizen 3.0
531  *
532  * @remarks The callback is called in a separate thread(not in the main loop).
533  *
534  * @param[in] error The error code
535  * @param[in] face_count The number of all detected faces
536  * @param[in] user_data The user data passed from the foreach function
537  *
538  * @pre media_info_start_face_detection()
539  * @see media_info_start_face_detection()
540  */
541 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
542
543
544 /**
545  * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
546  * @brief Called for every available media folder.
547  * @details Iterates over a list of folders.
548  *
549  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
550  *
551  * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
552  *                  The callback is called in the main loop.
553  *
554  * @param[in] folder The handle to the media folder
555  * @param[in] user_data The user data passed from the foreach function
556  *
557  * @return @c true to continue with the next iteration of the loop,
558  *         otherwise @c false to break out of the loop
559  *
560  * @pre media_folder_foreach_folder_from_db() will invoke this function.
561  * @see media_folder_clone()
562  * @see media_folder_foreach_folder_from_db()
563  */
564 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
565
566 /**
567  * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
568  * @brief Called for every playlist in the obtained list of playlists.
569  * @details Iterates over a playlist list.
570  *
571  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
572  *
573  * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
574  *                  The callback is called in the main loop.
575  *
576  * @param[in] playlist The handle to the media playlist
577  * @param[in] user_data The user data passed from the foreach function
578  *
579  * @return @c true to continue with the next iteration of the loop,
580  *         otherwise @c false to break out of the loop
581  *
582  * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
583  *
584  * @see media_playlist_clone()
585  * @see media_playlist_foreach_playlist_from_db()
586  */
587 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
588
589 /**
590  * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
591  * @brief Called for every media info with playlist member ID in the obtained list of media info.
592  * @details Iterates over playlist members.
593  *
594  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
595  *
596  * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
597  *                  The callback is called in the main loop.
598  *
599  * @param[in] playlist_member_id The ID of the playlist member
600  * @param[in] media The handle to the media info
601  * @param[in] user_data The user data passed from the foreach function
602  *
603  * @return @c true to continue with the next iteration of the loop,
604  *         otherwise @c false to break out of the loop
605  *
606  * @pre media_playlist_foreach_media_from_db() will invoke this function.
607  *
608  * @see media_info_clone()
609  * @see media_playlist_foreach_media_from_db()
610  */
611 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
612
613 /**
614  * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
615  * @brief Called for every tag in the obtained list of tags.
616  * @details Iterates over a list of tags.
617  *
618  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
619  *
620  * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
621  *                  The callback is called in the main loop.
622  *
623  * @param[in] tag The handle to the media tag
624  * @param[in] user_data The user data passed from the foreach function
625  *
626  * @return @c true to continue with the next iteration of the loop,
627  *         otherwise @c false to break out of the loop
628  *
629  * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
630  *
631  * @see media_tag_clone()
632  * @see media_tag_foreach_tag_from_db()
633  * @see media_info_foreach_tag_from_db()
634  */
635 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
636
637 /**
638  * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
639  * @brief Called for every bookmark in the obtained list of bookmarks.
640  * @details Iterates over a bookmark list.
641  *
642  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
643  *
644  * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
645  *                  The callback is called in the main loop.
646  *
647  * @param[in] bookmark The handle to the media bookmark
648  * @param[in] user_data The user data passed from the foreach function
649  *
650  * @return @c true to continue with the next iteration of the loop,
651  *         otherwise @c false to break out of the loop
652  *
653  * @pre media_info_foreach_bookmark_from_db() will invoke this function.
654  * @see media_info_foreach_bookmark_from_db()
655  */
656 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
657
658 /**
659  * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
660  * @brief Called for every album in the obtained list of groups.
661  * @details Iterates over an album list.
662  *
663  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
664  *
665  * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
666  *                  The callback is called in the main loop.
667  *
668  * @param[in] album The handle to the media album
669  * @param[in] user_data The user data passed from the foreach function
670  *
671  * @return @c true to continue with the next iteration of the loop,
672  *         otherwise @c false to break out of the loop
673  *
674  * @pre media_album_foreach_album_from_db() will invoke this function.
675  *
676  * @see media_album_clone()
677  * @see media_album_foreach_album_from_db()
678  */
679 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
680
681 /**
682  * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
683  * @brief Called for every group in the obtained list of groups.
684  * @details Iterates over a media group list.
685  *
686  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
687  *
688  * @remarks You should not free @a group_name returned by this function. \n
689  *                  The callback is called in the main loop.
690  *
691  * @param[in] group_name The name of the media group
692  * @param[in] user_data The user data passed from the foreach function
693  *
694  * @return @c true to continue with the next iteration of the loop,
695  *         otherwise @c false to break out of the loop
696  *
697  * @pre media_group_foreach_group_from_db() will invoke this function.
698  * @see media_group_foreach_group_from_db()
699  */
700 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
701
702 /**
703  * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
704  * @deprecated Deprecated since 5.0.
705  * @brief Called for every storage in the obtained list of storages.
706  * @details Iterates over a media storage list.
707  *
708  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
709  *
710  * @remarks You should not destroy @a storage returned by this function. \n
711  *                  The callback is called in the main loop.
712  *
713  * @param[in] storage The handle of the media storage
714  * @param[in] user_data The user data passed from the foreach function
715  *
716  * @return @c true to continue with the next iteration of the loop,
717  *         otherwise @c false to break out of the loop
718  *
719  * @pre media_storage_foreach_storage_from_db() will invoke this function.
720  * @see media_storage_foreach_storage_from_db()
721  */
722 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
723
724 /**
725  * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
726  * @brief Called for every face in the obtained list of face.
727  * @details Iterates over a media face list.
728  *
729  * @since_tizen 3.0
730  *
731  * @remarks You should not destroy @a face returned by this function. \n
732  *                  The callback is called in the main loop.
733  *
734  * @param[in] face The handle of the media face
735  * @param[in] user_data The user data passed from the foreach function
736  *
737  * @return @c true to continue with the next iteration of the loop,
738  *         otherwise @c false to break out of the loop
739  *
740  * @pre media_info_foreach_face_from_db() will invoke this function.
741  * @see media_info_foreach_face_from_db()
742  */
743 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
744
745 /**
746  * @}
747  */
748
749 /**
750  * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
751  * @{
752  */
753
754  /**
755  * @brief Media ID.
756  * @details You can use above define to set the condition of media filter and order keyword.
757  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
758  *
759  */
760 #define MEDIA_ID "MEDIA_ID"
761
762 /**
763  * @brief Media full path.
764  * @details You can use above define to set the condition of media filter and order keyword.
765  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
766  *
767  */
768 #define MEDIA_PATH "MEDIA_PATH"
769
770 /**
771  * @brief The file name including the extension.
772  * @details You can use above define to set the condition of media filter and order keyword.
773  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
774  *
775  */
776 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
777
778 /**
779  * @brief Media type.
780  * @details There are 5 media types:\n
781  *               0-image, 1-video, 2-sound, 3-music, 4-other\n
782  *               You can use above define to set the condition of media filter and order keyword.
783  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
784  *
785  */
786 #define MEDIA_TYPE "MEDIA_TYPE"
787
788 /**
789  * @brief Media MIME type.
790  * @details You can use above define to set the condition of media filter and order keyword.
791  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
792  *
793  */
794 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
795
796
797 /**
798  * @brief Media file size.
799  * @details You can use above define to set the condition of media filter and order keyword.
800  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
801  *
802  */
803 #define MEDIA_SIZE "MEDIA_SIZE"
804
805 /**
806  * @brief The time that content file was first added to media database.
807  * @details You can use above define to set the condition of media filter and order keyword.
808  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
809  *
810  */
811 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
812
813 /**
814  * @brief The last modification time provided by the file system.
815  * @details You can use above define to set the condition of media filter and order keyword.
816  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
817  *
818  */
819 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
820
821 /**
822  * @brief  Media created time.
823  * @details You can use above define to set the condition of media filter and order keyword.
824  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
825  *
826  */
827 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
828
829 /**
830  * @brief Media thumbnail path.
831  * @details You can use above define to set the condition of media filter and order keyword.
832  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
833  *
834  */
835 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
836
837 /**
838  * @brief Media title get from tag or file name.
839  * @details You can use above define to set the condition of media filter and order keyword.
840  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
841  *
842  */
843 #define MEDIA_TITLE "MEDIA_TITLE"
844
845 /**
846  * @brief Media album name.
847  * @details You can use above define to set the condition of media filter and order keyword.
848  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
849  *
850  */
851 #define MEDIA_ALBUM "MEDIA_ALBUM"
852
853 /**
854  * @brief Media artist.
855  * @details You can use above define to set the condition of media filter and order keyword.
856  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
857  *
858  */
859 #define MEDIA_ARTIST "MEDIA_ARTIST"
860
861 /**
862  * @brief Media album artist.
863  * @details You can use above define to set the condition of media filter and order keyword.
864  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
865  *
866  */
867 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
868
869 /**
870  * @brief Media genre.
871  * @details You can use above define to set the condition of media filter and order keyword.
872  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
873  *
874  */
875 #define MEDIA_GENRE "MEDIA_GENRE"
876
877 /**
878  * @brief Media composer.
879  * @details You can use above define to set the condition of media filter and order keyword.
880  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
881  *
882  */
883 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
884
885 /**
886  * @brief Media year.
887  * @details You can use above define to set the condition of media filter and order keyword.
888  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
889  *
890  */
891 #define MEDIA_YEAR "MEDIA_YEAR"
892
893 /**
894  * @brief Media recorded date.
895  * @details You can use above define to set the condition of media filter and order keyword.
896  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
897  *
898  */
899 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
900
901 /**
902  * @brief Media copyright.
903  * @details You can use above define to set the condition of media filter and order keyword.
904  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
905  *
906  */
907 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
908
909 /**
910  * @brief Media track number.
911  * @details You can use above define to set the condition of media filter and order keyword.
912  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
913  *
914  */
915 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
916
917 /**
918  * @brief Media description.
919  * @details You can use above define to set the condition of media filter and order keyword.
920  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
921  *
922  */
923 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
924
925 /**
926  * @brief Media bitrate.
927  * @details You can use above define to set the condition of media filter and order keyword.
928  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
929  *
930  */
931 #define MEDIA_BITRATE "MEDIA_BITRATE"
932
933 /**
934  * @brief Media bit per sample.
935  * @details You can use above define to set the condition of media filter and order keyword.
936  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
937  *
938  */
939 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
940
941 /**
942  * @brief Media sample rate.
943  * @details You can use above define to set the condition of media filter and order keyword.
944  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
945  *
946  */
947 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
948
949 /**
950  * @brief Media channel.
951  * @details You can use above define to set the condition of media filter and order keyword.
952  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
953  *
954  */
955 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
956
957 /**
958  * @brief Media duration.
959  * @details You can use above define to set the condition of media filter and order keyword.
960  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
961  *
962  */
963 #define MEDIA_DURATION "MEDIA_DURATION"
964
965 /**
966  * @brief Media longitude.
967  * @details You can use above define to set the condition of media filter and order keyword.
968  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
969  *
970  */
971 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
972
973 /**
974  * @brief Media latitude.
975  * @details You can use above define to set the condition of media filter and order keyword.
976  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
977  *
978  */
979 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
980
981 /**
982  * @brief Media altitude.
983  * @details You can use above define to set the condition of media filter and order keyword.
984  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
985  *
986  */
987 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
988
989 /**
990  * @brief Media width.
991  * @details You can use above define to set the condition of media filter and order keyword.
992  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
993  *
994  */
995 #define MEDIA_WIDTH "MEDIA_WIDTH"
996
997 /**
998  * @brief Media height.
999  * @details You can use above define to set the condition of media filter and order keyword.
1000  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1001  *
1002  */
1003 #define MEDIA_HEIGHT "MEDIA_HEIGHT"
1004
1005 /**
1006  * @brief Media datetaken.
1007  * @details You can use above define to set the condition of media filter and order keyword.
1008  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1009  *
1010  */
1011 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
1012
1013 /**
1014  * @brief Media orientation.
1015  * @details You can use above define to set the condition of media filter and order keyword.
1016  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1017  *
1018  */
1019 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
1020
1021 /**
1022  * @deprecated Deprecated since 4.0.
1023  * @brief Media burst ID.
1024  * @details You can use above define to set the condition of media filter and order keyword.
1025  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1026  *
1027  */
1028 #define MEDIA_BURST_ID "BURST_ID"
1029
1030 /**
1031  * @deprecated Deprecated since 4.0.
1032  * @brief Media playedcount.
1033  * @details You can use above define to set the condition of media filter and order keyword.
1034  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1035  *
1036  */
1037 #define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
1038
1039 /**
1040  * @deprecated Deprecated since 4.0.
1041  * @brief Media last played time.
1042  * @details You can use above define to set the condition of media filter and order keyword.
1043  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1044  *
1045  */
1046 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
1047
1048 /**
1049  * @deprecated Deprecated since 4.0.
1050  * @brief Media last played position of file.
1051  * @details You can use above define to set the condition of media filter and order keyword.
1052  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1053  *
1054  */
1055 #define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
1056
1057 /**
1058  * @brief Media rating.
1059  * @details You can use above define to set the condition of media filter and order keyword.
1060  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1061  *
1062  */
1063 #define MEDIA_RATING "MEDIA_RATING"
1064
1065 /**
1066  * @brief The time to register favourite.
1067  * @details You can use above define to set the condition of media filter and order keyword.
1068  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1069  *
1070  */
1071 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1072
1073 /**
1074  * @deprecated Deprecated since 4.0.
1075  * @brief Media author.
1076  * @details You can use above define to set the condition of media filter and order keyword.
1077  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1078  *
1079  */
1080 #define MEDIA_AUTHOR "MEDIA_AUTHOR"
1081
1082 /**
1083  * @deprecated Deprecated since 4.0.
1084  * @brief Media provider.
1085  * @details You can use above define to set the condition of media filter and order keyword.
1086  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1087  *
1088  */
1089 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
1090
1091 /**
1092  * @deprecated Deprecated since 4.0.
1093  * @brief Media content name.
1094  * @details You can use above define to set the condition of media filter and order keyword.
1095  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1096  *
1097  */
1098 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
1099
1100 /**
1101  * @deprecated Deprecated since 4.0.
1102  * @brief Media category.
1103  * @details You can use above define to set the condition of media filter and order keyword.
1104  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1105  *
1106  */
1107 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1108
1109 /**
1110  * @deprecated Deprecated since 4.0.
1111  * @brief Media location tag.
1112  * @details You can use above define to set the condition of media filter and order keyword.
1113  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1114  *
1115  */
1116 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1117
1118 /**
1119  * @deprecated Deprecated since 4.0.
1120  * @brief Media age rating.
1121  * @details You can use above define to set the condition of media filter and order keyword.
1122  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1123  *
1124  */
1125 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1126
1127 /**
1128  * @deprecated Deprecated since 4.0.
1129  * @brief Media keyword.
1130  * @details You can use above define to set the condition of media filter and order keyword.
1131  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1132  *
1133  */
1134 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1135
1136 /**
1137  * @deprecated Deprecated since 4.0.
1138  * @brief Media weather.
1139  * @details You can use above define to set the condition of media filter and order keyword.
1140  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1141  *
1142  */
1143 #define MEDIA_WEATHER "MEDIA_WEATHER"
1144
1145 /**
1146  * @brief Is DRM.
1147  * @details There are 2 types:\n
1148  *               0-not drm, 1-drm\n
1149  *               You can use above define to set the condition of media filter and order keyword.
1150  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1151  *
1152  */
1153 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
1154
1155 /**
1156  * @deprecated Deprecated since 5.0.
1157  * @brief Media storage.
1158  * @details There are 2 types:\n
1159  *               0-internal storage, 1-external storage\n
1160  *               You can use above define to set the condition of media filter and order keyword.
1161  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1162  *
1163  */
1164 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1165
1166 /**
1167  * @brief Media exposure time.
1168  * @details You can use above define to set the condition of media filter and order keyword.
1169  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1170  *
1171  */
1172 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1173
1174 /**
1175  * @brief Media fnumber.
1176  * @details You can use above define to set the condition of media filter and order keyword.
1177  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1178  *
1179  */
1180 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1181
1182 /**
1183  * @brief Media ISO.
1184  * @details You can use above define to set the condition of media filter and order keyword.
1185  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1186  *
1187  */
1188 #define MEDIA_ISO "MEDIA_ISO"
1189
1190 /**
1191  * @brief Media model.
1192  * @details You can use above define to set the condition of media filter and order keyword.
1193  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1194  *
1195  */
1196 #define MEDIA_MODEL "MEDIA_MODEL"
1197
1198 /**
1199  * @brief Media file name pinyin.
1200  * @details You can use above define to set the condition of media filter and order keyword.
1201  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1202  * @remarks Since 4.0, this keyword is related to the following feature:\n
1203  *          - %http://tizen.org/feature/content.filter.pinyin\n
1204  *             If this feature is not supported on the device, PINYIN search does not work.
1205  *
1206  */
1207 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1208
1209 /**
1210  * @brief Media title pinyin.
1211  * @details You can use above define to set the condition of media filter and order keyword.
1212  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1213  * @remarks Since 4.0, this keyword is related to the following feature:\n
1214  *          - %http://tizen.org/feature/content.filter.pinyin\n
1215  *             If this feature is not supported on the device, PINYIN search does not work.
1216  *
1217  */
1218 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1219
1220 /**
1221  * @brief Media album pinyin.
1222  * @details You can use above define to set the condition of media filter and order keyword.
1223  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1224  * @remarks Since 4.0, this keyword is related to the following feature:\n
1225  *          - %http://tizen.org/feature/content.filter.pinyin\n
1226  *            If this feature is not supported on the device, PINYIN search does not work.
1227  *
1228  */
1229 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1230
1231 /**
1232  * @brief Media artist pinyin.
1233  * @details You can use above define to set the condition of media filter and order keyword.
1234  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1235  * @remarks Since 4.0, this keyword is related to the following feature:\n
1236  *          - %http://tizen.org/feature/content.filter.pinyin\n
1237  *             If this feature is not supported on the device, PINYIN search does not work.
1238  *
1239  */
1240 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1241
1242 /**
1243  * @brief Media album artist pinyin.
1244  * @details You can use above define to set the condition of media filter and order keyword.
1245  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1246  * @remarks Since 4.0, this keyword is related to the following feature:\n
1247  *          - %http://tizen.org/feature/content.filter.pinyin\n
1248  *            If this feature is not supported on the device, PINYIN search does not work.
1249  *
1250  */
1251 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1252
1253 /**
1254  * @brief Media genre pinyin.
1255  * @details You can use above define to set the condition of media filter and order keyword.
1256  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1257  * @remarks Since 4.0, this keyword is related to the following feature:\n
1258  *          - %http://tizen.org/feature/content.filter.pinyin\n
1259  *            If this feature is not supported on the device, PINYIN search does not work.
1260  *
1261  */
1262 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1263
1264 /**
1265  * @brief Media composer pinyin.
1266  * @details You can use above define to set the condition of media filter and order keyword.
1267  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1268  * @remarks Since 4.0, this keyword is related to the following feature:\n
1269  *          - %http://tizen.org/feature/content.filter.pinyin\n
1270  *            If this feature is not supported on the device, PINYIN search does not work.
1271  *
1272  */
1273 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1274
1275 /**
1276  * @brief Media copyright pinyin.
1277  * @details You can use above define to set the condition of media filter and order keyword.
1278  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1279  * @remarks Since 4.0, this keyword is related to the following feature:\n
1280  *          - %http://tizen.org/feature/content.filter.pinyin\n
1281  *            If this feature is not supported on the device, PINYIN search does not work.
1282  *
1283  */
1284 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1285
1286 /**
1287  * @brief Media description pinyin.
1288  * @details You can use above define to set the condition of media filter and order keyword.
1289  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1290  * @remarks Since 4.0, this keyword is related to the following feature:\n
1291  *          - %http://tizen.org/feature/content.filter.pinyin\n
1292  *            If this feature is not supported on the device, PINYIN search does not work.
1293  *
1294  */
1295 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1296
1297 /**
1298  * @deprecated Deprecated since 4.0.
1299  * @brief Media author pinyin.
1300  * @details You can use above define to set the condition of media filter and order keyword.
1301  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1302  * @remarks Since 4.0, this keyword is related to the following feature:\n
1303  *          - %http://tizen.org/feature/content.filter.pinyin\n
1304  *            If this feature is not supported on the device, PINYIN search does not work.
1305  *
1306  */
1307 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1308
1309 /**
1310  * @deprecated Deprecated since 4.0.
1311  * @brief Media provider pinyin.
1312  * @details You can use above define to set the condition of media filter and order keyword.
1313  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1314  * @remarks Since 4.0, this keyword is related to the following feature:\n
1315  *          - %http://tizen.org/feature/content.filter.pinyin\n
1316  *            If this feature is not supported on the device, PINYIN search does not work.
1317  *
1318  */
1319 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1320
1321 /**
1322  * @deprecated Deprecated since 4.0.
1323  * @brief Media content name pinyin.
1324  * @details You can use above define to set the condition of media filter and order keyword.
1325  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1326  * @remarks Since 4.0, this keyword is related to the following feature:\n
1327  *          - %http://tizen.org/feature/content.filter.pinyin\n
1328  *            If this feature is not supported on the device, PINYIN search does not work.
1329  *
1330  */
1331 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1332
1333 /**
1334  * @deprecated Deprecated since 4.0.
1335  * @brief Media category pinyin.
1336  * @details You can use above define to set the condition of media filter and order keyword.
1337  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1338  * @remarks Since 4.0, this keyword is related to the following feature:\n
1339  *          - %http://tizen.org/feature/content.filter.pinyin\n
1340  *            If this feature is not supported on the device, PINYIN search does not work.
1341  *
1342  */
1343 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1344
1345 /**
1346  * @deprecated Deprecated since 4.0.
1347  * @brief Media location tag pinyin.
1348  * @details You can use above define to set the condition of media filter and order keyword.
1349  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1350  * @remarks Since 4.0, this keyword is related to the following feature:\n
1351  *          - %http://tizen.org/feature/content.filter.pinyin\n
1352  *            If this feature is not supported on the device, PINYIN search does not work.
1353  *
1354  */
1355 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1356
1357 /**
1358  * @deprecated Deprecated since 4.0.
1359  * @brief Media age rating pinyin.
1360  * @details You can use above define to set the condition of media filter and order keyword.
1361  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1362  * @remarks Since 4.0, this keyword is related to the following feature:\n
1363  *          - %http://tizen.org/feature/content.filter.pinyin\n
1364  *            If this feature is not supported on the device, PINYIN search does not work.
1365  *
1366  */
1367 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1368
1369 /**
1370  * @deprecated Deprecated since 4.0.
1371  * @brief Media keyword pinyin.
1372  * @details You can use above define to set the condition of media filter and order keyword.
1373  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1374  * @remarks Since 4.0, this keyword is related to the following feature:\n
1375  *          - %http://tizen.org/feature/content.filter.pinyin\n
1376  *            If this feature is not supported on the device, PINYIN search does not work.
1377  *
1378  */
1379 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1380
1381 /**
1382  * @brief Virtual Reality content.
1383  * @details You can use above define to set the condition of media filter and order keyword.
1384  * @since_tizen 3.0
1385  *
1386  */
1387 #define MEDIA_360 "MEDIA_360"
1388
1389  /**
1390  * @brief Folder ID.
1391  * @details You can use above define to set the condition of folder filter and order keyword.
1392  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1393  */
1394 #define FOLDER_ID "FOLDER_ID"
1395
1396 /**
1397  * @brief Folder full path.
1398  * @details You can use above define to set the condition of folder filter and order keyword.
1399  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1400  */
1401 #define FOLDER_PATH "FOLDER_PATH"
1402
1403 /**
1404  * @brief Folder base name.
1405  * @details You can use above define to set the condition of folder filter and order keyword.
1406  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1407  */
1408 #define FOLDER_NAME "FOLDER_NAME"
1409
1410 /**
1411  * @deprecated Deprecated since 4.0.
1412  * @brief Folder modified time.
1413  * @details You can use above define to set the condition of folder filter and order keyword.
1414  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1415  */
1416 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1417
1418 /**
1419  * @deprecated Deprecated since 5.0.
1420  * @brief Folder storage.
1421  * @details There are 2 types:\n
1422  *               0-internal storage, 1-external storage\n
1423  *               You can use above define to set the condition of folder filter and order keyword.
1424  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1425  */
1426 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1427
1428 /**
1429  * @brief Folder base name pinyin.
1430  * @details You can use above define to set the condition of folder filter and order keyword.
1431  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1432  * @remarks Since 4.0, this keyword is related to the following feature:\n
1433  *          - %http://tizen.org/feature/content.filter.pinyin\n
1434  *            If this feature is not supported on the device, PINYIN search does not work.
1435  */
1436 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1437
1438 /**
1439  * @deprecated Deprecated since 4.0.
1440  * @brief Folder order info.
1441  * @details You can use above define to set the condition of folder filter and order keyword.
1442  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1443  */
1444 #define FOLDER_ORDER "FOLDER_ORDER"
1445
1446 /**
1447  * @deprecated Deprecated since 4.0.
1448  * @brief Parent folder id.
1449  * @details You can use above define to set the condition of folder filter and order keyword.
1450  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1451  */
1452 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1453
1454 /**
1455  * @brief Playlist name.
1456  * @details You can use above define to set the condition of playlist filter and order keyword.
1457  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1458  */
1459 #define PLAYLIST_NAME "PLAYLIST_NAME"
1460
1461 /**
1462  * @brief Playlist id.
1463  * @details You can use above define to set the condition of playlist filter and order keyword.
1464  * @since_tizen 4.0
1465  */
1466 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1467
1468 /**
1469  * @brief Playlist member order.
1470  * @details You can use above define to set the condition of playlist filter and order keyword.
1471  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1472  */
1473 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1474
1475 /**
1476  * @brief Media count in playlist.
1477  * @details You can use above define to set the condition of playlist filter and order keyword.
1478  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1479  */
1480 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1481
1482 /**
1483  * @brief Tag name.
1484  * @details You can use above define to set the condition of tag filter and order keyword.
1485  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1486  */
1487 #define TAG_NAME "TAG_NAME"
1488
1489 /**
1490  * @brief Tag id.
1491  * @details You can use above define to set the condition of tag filter and order keyword.
1492  * @since_tizen 4.0
1493  */
1494 #define MEDIA_TAG_ID "TAG_ID"
1495
1496 /**
1497  * @brief Media count in tag.
1498  * @details You can use above define to set the condition of tag filter and order keyword.
1499  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1500  */
1501 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1502
1503 /**
1504  * @brief Bookmark marked time.
1505  * @details You can use above define to set the condition of bookmark filter and order keyword.
1506  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1507  */
1508 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1509
1510 /**
1511  * @brief Bookmark id.
1512  * @details You can use above define to set the condition of bookmark filter and order keyword.
1513  * @since_tizen 4.0
1514  */
1515 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1516
1517 /**
1518  * @brief Bookmark name.
1519  * @details You can use above define to set the condition of bookmark filter and order keyword.
1520  * @since_tizen 4.0
1521  */
1522 #define BOOKMARK_NAME "BOOKMARK_NAME"
1523
1524 /**
1525  * @deprecated Deprecated since 5.0.
1526  * @brief Storage ID.
1527  * @details You can use above define to set the condition of storage filter and order keyword.
1528  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1529  */
1530 #define MEDIA_STORAGE_ID                                        "STORAGE_ID"
1531
1532 /**
1533  * @deprecated Deprecated since 5.0.
1534  * @brief Storage path.
1535  * @details You can use above define to set the condition of storage filter and order keyword.
1536  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1537  */
1538 #define MEDIA_STORAGE_PATH                              "STORAGE_PATH"
1539
1540 /**
1541  * @brief Face tag.
1542  * @details You can use above define to set the condition of face filter and order keyword.
1543  * @since_tizen 3.0
1544  */
1545 #define MEDIA_FACE_TAG  "MEDIA_FACE_TAG"
1546
1547 /**
1548  * @brief Face id.
1549  * @details You can use above define to set the condition of face filter and order keyword.
1550  * @since_tizen 4.0
1551  */
1552 #define MEDIA_FACE_ID   "MEDIA_FACE_ID"
1553
1554 /**
1555  * @}
1556  */
1557
1558
1559 #ifdef __cplusplus
1560 }
1561 #endif /* __cplusplus */
1562
1563
1564 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/