2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #ifndef __TIZEN_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 * @file media_content_type.h
30 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
31 * classes of errors and definitions of media-data. \n
32 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
33 * when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
37 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
42 * @ingroup CAPI_MEDIA_CONTENT_MODULE
43 * @brief Enumeration for the media file format.
44 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
47 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
48 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
49 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
50 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
51 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
52 } media_content_type_e;
55 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
56 * @brief Enumeration for the storage type.
57 * @details This information is used to establish where the folder is.
58 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
61 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
62 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
63 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
64 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
65 } media_content_storage_e;
68 * @ingroup CAPI_MEDIA_CONTENT_MODULE
69 * @brief Enumeration for media content DB update items.
70 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
73 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
74 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
75 } media_content_db_update_item_type_e;
78 * @ingroup CAPI_MEDIA_CONTENT_MODULE
79 * @brief Enumeration for media content DB update types.
80 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
83 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
84 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
85 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
86 } media_content_db_update_type_e;
89 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
90 * @brief Enumeration for orientation types.
91 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
94 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
95 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
96 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
97 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
98 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
99 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
100 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
101 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
102 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
103 } media_content_orientation_e;
106 * @ingroup CAPI_MEDIA_CONTENT_MODULE
107 * @brief Enumeration for ordering.
108 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
111 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
112 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
113 MEDIA_CONTENT_ORDER_OTHER = 2, /** order by order key**/
114 } media_content_order_e;
117 * @ingroup CAPI_MEDIA_CONTENT_MODULE
118 * @brief Enumeration for collations.
119 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
122 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
123 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
124 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
125 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
126 } media_content_collation_e;
128 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
131 * @ingroup CAPI_MEDIA_CONTENT_MODULE
132 * @brief Enumeration for a media content error.
133 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
136 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
137 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
138 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
139 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
140 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
141 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
142 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
143 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
144 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
145 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
146 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
147 } media_content_error_e;
150 * @ingroup CAPI_MEDIA_CONTENT_MODULE
151 * @brief Enumeration for a media group.
152 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
155 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
156 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
157 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
158 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
159 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
160 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
161 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
162 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
163 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
164 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
165 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
166 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
167 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
168 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
169 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
170 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
171 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
172 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
173 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
174 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot*/
175 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
176 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author*/
177 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider*/
178 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
179 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category*/
180 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag*/
181 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating*/
182 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
183 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather*/
184 MEDIA_CONTENT_GROUP_MAX /**< Invalid media group ID*/
188 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
189 * @brief The structure type for the Media info handle.
190 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
192 typedef struct media_info_s *media_info_h;
195 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
196 * @brief The structure type for the Media folder handle.
197 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
199 typedef struct media_folder_s *media_folder_h;
202 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
203 * @brief The structure type for the Media playlist handle.
204 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
206 typedef struct media_playlist_s *media_playlist_h;
209 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
210 * @brief The structure type for the Media tag handle.
211 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
213 typedef struct media_tag_s *media_tag_h;
216 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
217 * @brief The structure type for the Media bookmark handle.
218 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
220 typedef struct media_bookmark_s *media_bookmark_h;
223 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
224 * @brief The structure type for the Media album handle.
225 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
227 typedef struct media_album_s *media_album_h;
230 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
231 * @brief The structure type for the Image metadata handle.
232 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
234 typedef struct image_meta_s *image_meta_h;
237 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
238 * @brief The structure type for the Video metadata handle.
239 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
241 typedef struct video_meta_s *video_meta_h;
244 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
245 * @brief The structure type for the Audio metadata handle.
246 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
248 typedef struct audio_meta_s *audio_meta_h;
251 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
252 * @brief The structure type for the Media filter handle.
253 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
255 typedef struct filter_s *filter_h;
258 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
259 * @brief The structure type for the Media storage handle.
260 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
262 typedef void *media_storage_h;
265 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
266 * @brief The structure type for the Media face handle.
269 typedef void *media_face_h;
272 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
273 * @brief The structure type for the Media content noti handle.
276 typedef void *media_content_noti_h;
279 * @ingroup CAPI_MEDIA_CONTENT_MODULE
280 * @brief Called when the media scanning is finished.
281 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
282 * @remarks The callback is called in a separate thread(not in the main loop).
284 * @param[in] error The error code
285 * @param[in] user_data The user data passed from the foreach function
287 * @pre media_content_scan().
289 * @see media_content_scan()
292 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
295 * @ingroup CAPI_MEDIA_CONTENT_MODULE
296 * @brief Called when the notification of the media DB change is subscribed.
297 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
299 * @remarks The callback is called in a separate thread(not in the main loop).
301 * @param[in] error The error code
302 * @param[in] pid The PID which publishes notification
303 * @param[in] update_item The update item of notification
304 * @param[in] update_type The update type of notification
305 * @param[in] media_type The type of the media content (#media_content_type_e)
306 * @param[in] uuid The UUID of media or directory, which is updated
307 * @param[in] path The path of the media or directory
308 * @param[in] mime_type The mime type of the media info
309 * @param[in] user_data The user data passed from the foreach function
311 * @pre media_content_db_update_subscribe().
312 * @see media_content_db_update_subscribe()
314 typedef void (*media_content_db_update_cb)(
315 media_content_error_e error,
317 media_content_db_update_item_type_e update_item,
318 media_content_db_update_type_e update_type,
319 media_content_type_e media_type,
327 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
328 * @brief Called for every available media info.
329 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
331 * @details Iterates over a list of media info.
333 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
334 * The callback is called in the main loop.
336 * @param[in] media The handle to the media info
337 * @param[in] user_data The user data passed from the foreach function
339 * @return @c true to continue with the next iteration of the loop,
340 * otherwise @c false to break out of the loop
342 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
343 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
345 * @see media_info_clone()
346 * @see media_album_foreach_media_from_db()
347 * @see media_playlist_foreach_media_from_db()
348 * @see media_tag_foreach_media_from_db()
349 * @see media_info_foreach_media_from_db()
350 * @see media_folder_foreach_media_from_db()
352 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
356 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
357 * @brief Called when media items are inserted completely.
358 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
360 * @remarks The callback is called in a separate thread(not in the main loop).
362 * @param[in] media The handle to the media info
363 * @param[in] user_data The user data passed from the foreach function
365 * @pre media_info_insert_batch_to_db()
367 * @see media_info_insert_batch_to_db()
369 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
373 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
374 * @brief Called when the burst shot is inserted completely.
375 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
377 * @remarks The callback is called in a separate thread(not in the main loop).
379 * @param[in] media The handle to the media info
380 * @param[in] user_data The user data passed from the foreach function
382 * @pre media_info_insert_burst_shot_to_db()
384 * @see media_info_insert_burst_shot_to_db()
387 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
391 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
392 * @brief Called when creating a thumbnail image.
393 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
395 * @details This callback is called for completion of generating the thumbnail image.
396 * The following error codes can be delivered. \n
397 * #MEDIA_CONTENT_ERROR_NONE, \n
398 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
399 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
400 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
401 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
402 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
404 * @remarks The callback is called in a separate thread(not in the main loop).
406 * @param[in] error The error code
407 * @param[in] path The path of the thumbnail which is generated
408 * @param[in] user_data The user data passed from the foreach function
410 * @pre media_info_create_thumbnail()
412 * @see media_info_create_thumbnail()
414 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
417 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
418 * @brief Called when face detection on the image is completed.
420 * @details The following error codes can be delivered. \n
421 * #MEDIA_CONTENT_ERROR_NONE, \n
422 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
423 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
424 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
425 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
426 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
430 * @remarks The callback is called in a separate thread(not in the main loop).
432 * @param[in] error The error code
433 * @param[in] face_count The number of all detected faces
434 * @param[in] user_data The user data passed from the foreach function
436 * @pre media_info_start_face_detection()
438 * @see media_info_start_face_detection()
440 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
444 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
445 * @brief Called for every available media folder.
446 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
448 * @details Iterates over a list of folders.
450 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
451 * The callback is called in the main loop.
453 * @param[in] folder The handle to the media folder
454 * @param[in] user_data The user data passed from the foreach function
456 * @return @c true to continue with the next iteration of the loop,
457 * otherwise @c false to break out of the loop
459 * @pre media_folder_foreach_folder_from_db() will invoke this function.
460 * @see media_folder_clone()
461 * @see media_folder_foreach_folder_from_db()
463 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
466 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
467 * @brief Called for every playlist in the obtained list of playlists.
468 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
470 * @details Iterates over a playlist list.
472 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
473 * The callback is called in the main loop.
475 * @param[in] playlist The handle to the media playlist
476 * @param[in] user_data The user data passed from the foreach function
478 * @return @c true to continue with the next iteration of the loop,
479 * otherwise @c false to break out of the loop
481 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
483 * @see media_playlist_clone()
484 * @see media_playlist_foreach_playlist_from_db()
486 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
489 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
490 * @brief Called for every media info with playlist member ID in the obtained list of media info.
491 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
493 * @details Iterates over playlist members.
495 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
496 * The callback is called in the main loop.
498 * @param[in] playlist_member_id The ID to member of the playlist
499 * @param[in] media The handle to the media info
500 * @param[in] user_data The user data passed from the foreach function
502 * @return @c true to continue with the next iteration of the loop,
503 * otherwise @c false to break out of the loop
505 * @pre media_playlist_foreach_media_from_db() will invoke this function.
507 * @see media_info_clone()
508 * @see media_playlist_foreach_media_from_db()
510 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
513 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
514 * @brief Called for every tag in the obtained list of tags.
515 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
517 * @details Iterates over a list of tags.
519 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
520 * The callback is called in the main loop.
522 * @param[in] tag The handle to the media tag
523 * @param[in] user_data The user data passed from the foreach function
525 * @return @c true to continue with the next iteration of the loop,
526 * otherwise @c false to break out of the loop
528 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
530 * @see media_tag_clone()
531 * @see media_tag_foreach_tag_from_db()
532 * @see media_info_foreach_tag_from_db()
534 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
537 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
538 * @brief Called for every bookmark in the obtained list of bookmarks.
539 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
541 * @details Iterates over a bookmark list.
543 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
544 * The callback is called in the main loop.
546 * @param[in] bookmark The handle to the video bookmark
547 * @param[in] user_data The user data passed from the foreach function
549 * @return @c true to continue with the next iteration of the loop,
550 * otherwise @c false to break out of the loop
552 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
554 * @see media_info_foreach_bookmark_from_db()
556 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
559 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
560 * @brief Called for every album in the obtained list of groups.
561 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
563 * @details Iterates over an album list.
565 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
566 * The callback is called in the main loop.
568 * @param[in] album The handle to the media album
569 * @param[in] user_data The user data passed from the foreach function
571 * @return @c true to continue with the next iteration of the loop,
572 * otherwise @c false to break out of the loop
574 * @pre media_album_foreach_album_from_db() will invoke this function.
576 * @see media_album_clone()
577 * @see media_album_foreach_album_from_db()
579 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
582 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
583 * @brief Called for every group in the obtained list of groups.
584 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
586 * @details Iterates over a media group list.
588 * @remarks You should not free @a group_name returned by this function. \n
589 * The callback is called in the main loop.
591 * @param[in] group_name The name of the media group
592 * @param[in] user_data The user data passed from the foreach function
594 * @return @c true to continue with the next iteration of the loop,
595 * otherwise @c false to break out of the loop
597 * @pre media_group_foreach_group_from_db() will invoke this function.
599 * @see media_group_foreach_group_from_db()
601 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
604 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
605 * @brief Called for every storage in the obtained list of storages.
606 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
608 * @details Iterates over a media storage list.
610 * @remarks You should not destroy @a storage returned by this function. \n
611 * The callback is called in the main loop.
613 * @param[in] storage The handle of the media storage
614 * @param[in] user_data The user data passed from the foreach function
616 * @return @c true to continue with the next iteration of the loop,
617 * otherwise @c false to break out of the loop
619 * @pre media_storage_foreach_storage_from_db() will invoke this function.
621 * @see media_storage_foreach_storage_from_db()
623 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
626 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
627 * @brief Called for every face in the obtained list of face.
630 * @details Iterates over a media face list.
632 * @remarks You should not destroy @a face returned by this function. \n
633 * The callback is called in the main loop.
635 * @param[in] face The handle of the media face
636 * @param[in] user_data The user data passed from the foreach function
638 * @return @c true to continue with the next iteration of the loop,
639 * otherwise @c false to break out of the loop
641 * @pre media_info_foreach_face_from_db() will invoke this function.
643 * @see media_info_foreach_face_from_db()
645 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
652 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
657 * @brief You can use above define to set the condition of media filter and order keyword.
658 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
661 #define MEDIA_ID "MEDIA_ID" /**< Media ID */
664 * @brief You can use above define to set the condition of media filter and order keyword.
665 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
668 #define MEDIA_PATH "MEDIA_PATH" /**< Media full path */
671 * @brief You can use above define to set the condition of media filter and order keyword.
672 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
675 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME" /**< Media base name */
678 * @brief You can use above define to set the condition of media filter and order keyword.
679 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
682 #define MEDIA_TYPE "MEDIA_TYPE" /**< Media type: 0-image, 1-video, 2-sound, 3-music, 4-other*/
685 * @brief You can use above define to set the condition of media filter and order keyword.
686 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
689 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE" /**< Media MIME type */
693 * @brief You can use above define to set the condition of media filter and order keyword.
694 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
697 #define MEDIA_SIZE "MEDIA_SIZE" /**< Media file size */
700 * @brief You can use above define to set the condition of media filter and order keyword.
701 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
704 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME" /**< Media added time */
707 * @brief You can use above define to set the condition of media filter and order keyword.
708 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
711 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME" /**< Media modified time */
714 * @brief You can use above define to set the condition of media filter and order keyword.
715 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
718 #define MEDIA_TIMELINE "MEDIA_TIMELINE" /**< Media modified time */
721 * @brief You can use above define to set the condition of media filter and order keyword.
722 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
725 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH" /**< Media thumbnail path */
728 * @brief You can use above define to set the condition of media filter and order keyword.
729 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
732 #define MEDIA_TITLE "MEDIA_TITLE" /**< Media title get from tag or file name */
735 * @brief You can use above define to set the condition of media filter and order keyword.
736 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
739 #define MEDIA_ALBUM "MEDIA_ALBUM" /**< Media album name*/
742 * @brief You can use above define to set the condition of media filter and order keyword.
743 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
746 #define MEDIA_ARTIST "MEDIA_ARTIST" /**< Media artist*/
749 * @brief You can use above define to set the condition of media filter and order keyword.
750 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
753 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST" /**< Media album_artist*/
756 * @brief 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
760 #define MEDIA_GENRE "MEDIA_GENRE" /**< Media genre*/
763 * @brief You can use above define to set the condition of media filter and order keyword.
764 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
767 #define MEDIA_COMPOSER "MEDIA_COMPOSER" /**< Media composer*/
770 * @brief You can use above define to set the condition of media filter and order keyword.
771 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
774 #define MEDIA_YEAR "MEDIA_YEAR" /**< Media year*/
777 * @brief You can use above define to set the condition of media filter and order keyword.
778 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
781 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE" /**< Media recorded date*/
784 * @brief You can use above define to set the condition of media filter and order keyword.
785 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
788 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT" /**< Media copyright*/
791 * @brief You can use above define to set the condition of media filter and order keyword.
792 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
795 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM" /**< Media track number*/
798 * @brief You can use above define to set the condition of media filter and order keyword.
799 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
802 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION" /**< Media description*/
805 * @brief You can use above define to set the condition of media filter and order keyword.
806 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
809 #define MEDIA_BITRATE "MEDIA_BITRATE" /**< Media bitrate*/
812 * @brief You can use above define to set the condition of media filter and order keyword.
813 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
816 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE" /**< Media bit per sample*/
819 * @brief You can use above define to set the condition of media filter and order keyword.
820 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
823 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE" /**< Media sample rate*/
826 * @brief You can use above define to set the condition of media filter and order keyword.
827 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
830 #define MEDIA_CHANNEL "MEDIA_CHANNEL" /**< Media channel*/
833 * @brief You can use above define to set the condition of media filter and order keyword.
834 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
837 #define MEDIA_DURATION "MEDIA_DURATION" /**< Media duration */
840 * @brief You can use above define to set the condition of media filter and order keyword.
841 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
844 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE" /**< Media longitude */
847 * @brief 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
851 #define MEDIA_LATITUDE "MEDIA_LATITUDE" /**< Media latitude */
854 * @brief You can use above define to set the condition of media filter and order keyword.
855 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
858 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE" /**< Media altitude */
861 * @brief You can use above define to set the condition of media filter and order keyword.
862 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
865 #define MEDIA_WIDTH "MEDIA_WIDTH" /**< Media width*/
868 * @brief You can use above define to set the condition of media filter and order keyword.
869 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
872 #define MEDIA_HEIGHT "MEDIA_HEIGHT" /**< Media height*/
875 * @brief You can use above define to set the condition of media filter and order keyword.
876 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
879 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN" /**< Media datetaken*/
882 * @brief You can use above define to set the condition of media filter and order keyword.
883 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
886 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION" /**< Media orientation*/
889 * @brief You can use above define to set the condition of media filter and order keyword.
890 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
893 #define MEDIA_BURST_ID "BURST_ID" /**< Media burst ID*/
896 * @deprecated Deprecated since 4.0.
897 * @brief You can use above define to set the condition of media filter and order keyword.
898 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
901 #define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT" /**< Media playedcount*/
904 * @deprecated Deprecated since 4.0.
905 * @brief You can use above define to set the condition of media filter and order keyword.
906 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
909 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME" /**< Media last played time*/
912 * @deprecated Deprecated since 4.0.
913 * @brief You can use above define to set the condition of media filter and order keyword.
914 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
917 #define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION" /**< Media last played position of file*/
920 * @brief You can use above define to set the condition of media filter and order keyword.
921 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
924 #define MEDIA_RATING "MEDIA_RATING" /**< Media rating*/
927 * @brief 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
931 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE" /**< The time to register favourite*/
934 * @brief You can use above define to set the condition of media filter and order keyword.
935 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
938 #define MEDIA_AUTHOR "MEDIA_AUTHOR" /**< Media author*/
941 * @brief You can use above define to set the condition of media filter and order keyword.
942 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
945 #define MEDIA_PROVIDER "MEDIA_PROVIDER" /**< Media provider*/
948 * @deprecated Deprecated since 4.0.
949 * @brief You can use above define to set the condition of media filter and order keyword.
950 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
953 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME" /**< Media content name*/
956 * @brief You can use above define to set the condition of media filter and order keyword.
957 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
960 #define MEDIA_CATEGORY "MEDIA_CATEGORY" /**< Media category*/
963 * @brief You can use above define to set the condition of media filter and order keyword.
964 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
967 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG" /**< Media location tag*/
970 * @brief You can use above define to set the condition of media filter and order keyword.
971 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
974 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING" /**< Media age rating*/
977 * @deprecated Deprecated since 4.0.
978 * @brief You can use above define to set the condition of media filter and order keyword.
979 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
982 #define MEDIA_KEYWORD "MEDIA_KEYWORD" /**< Media keyword*/
985 * @brief You can use above define to set the condition of media filter and order keyword.
986 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
989 #define MEDIA_WEATHER "MEDIA_WEATHER" /**< Media weather*/
992 * @brief You can use above define to set the condition of media filter and order keyword.
993 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
996 #define MEDIA_IS_DRM "MEDIA_IS_DRM" /**< Is DRM. 0-not drm, 1-drm*/
999 * @brief 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
1003 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE" /**< Media storage. 0-internal storage, 1-external storage*/
1006 * @brief You can use above define to set the condition of media filter and order keyword.
1007 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1010 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME" /**< media exposure_time*/
1013 * @brief You can use above define to set the condition of media filter and order keyword.
1014 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1017 #define MEDIA_FNUMBER "MEDIA_FNUMBER" /**< media fnumber*/
1020 * @brief You can use above define to set the condition of media filter and order keyword.
1021 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1024 #define MEDIA_ISO "MEDIA_ISO" /**< media iso*/
1027 * @brief You can use above define to set the condition of media filter and order keyword.
1028 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1031 #define MEDIA_MODEL "MEDIA_MODEL" /**< media model*/
1034 * @brief You can use above define to set the condition of media filter and order keyword.
1035 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1038 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN" /**< Media file name pinyin */
1041 * @brief You can use above define to set the condition of media filter and order keyword.
1042 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1045 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN" /**< Media title pinyin */
1048 * @brief You can use above define to set the condition of media filter and order keyword.
1049 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1052 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN" /**< Media album pinyin*/
1055 * @brief You can use above define to set the condition of media filter and order keyword.
1056 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1059 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN" /**< Media artist pinyin*/
1062 * @brief You can use above define to set the condition of media filter and order keyword.
1063 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1066 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN" /**< Media album_artist pinyin*/
1069 * @brief You can use above define to set the condition of media filter and order keyword.
1070 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1073 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN" /**< Media genre pinyin*/
1076 * @brief 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
1080 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN" /**< Media composer pinyin*/
1083 * @brief You can use above define to set the condition of media filter and order keyword.
1084 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1087 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN" /**< Media copyright pinyin*/
1090 * @brief You can use above define to set the condition of media filter and order keyword.
1091 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1094 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN" /**< Media description pinyin*/
1097 * @brief You can use above define to set the condition of media filter and order keyword.
1098 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1101 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN" /**< Media author pinyin*/
1104 * @brief You can use above define to set the condition of media filter and order keyword.
1105 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1108 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN" /**< Media provider pinyin*/
1111 * @deprecated Deprecated since 4.0.
1112 * @brief 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
1116 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN" /**< Media content name pinyin*/
1119 * @brief You can use above define to set the condition of media filter and order keyword.
1120 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1123 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN" /**< Media category pinyin*/
1126 * @brief You can use above define to set the condition of media filter and order keyword.
1127 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1130 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN" /**< Media location tag pinyin*/
1133 * @brief You can use above define to set the condition of media filter and order keyword.
1134 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1137 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN" /**< Media age rating pinyin*/
1140 * @deprecated Deprecated since 4.0.
1141 * @brief You can use above define to set the condition of media filter and order keyword.
1142 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1145 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN" /**< Media keyword pinyin*/
1148 * @brief You can use above define to set the condition of media filter and order keyword.
1152 #define MEDIA_360 "MEDIA_360" /**< Virtual Reality content*/
1160 * @addtogroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
1165 * @brief You can use above define to set the condition of folder filter and order keyword.
1166 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1168 #define FOLDER_ID "FOLDER_ID" /**< Folder ID */
1171 * @brief You can use above define to set the condition of folder filter and order keyword.
1172 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1174 #define FOLDER_PATH "FOLDER_PATH" /**< Folder full path */
1177 * @brief You can use above define to set the condition of folder filter and order keyword.
1178 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1180 #define FOLDER_NAME "FOLDER_NAME" /**< Folder base name */
1183 * @brief You can use above define to set the condition of folder filter and order keyword.
1184 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1186 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME" /**< Folder modified time */
1189 * @brief You can use above define to set the condition of folder filter and order keyword.
1190 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1192 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE" /**< Folder storage. 0-internal storage, 1-external storage*/
1195 * @brief You can use above define to set the condition of folder filter and order keyword.
1196 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1198 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN" /**< Folder base name pinyin*/
1201 * @deprecated Deprecated since 4.0.
1202 * @brief You can use above define to set the condition of folder filter and order keyword.
1203 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1205 #define FOLDER_ORDER "FOLDER_ORDER" /**< Folder order info */
1208 * @brief You can use above define to set the condition of folder filter and order keyword.
1209 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1211 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID" /**< parent folder id */
1218 * @addtogroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
1220 * @brief You can use above define to set the condition of playlist filter and order keyword.
1221 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1223 #define PLAYLIST_NAME "PLAYLIST_NAME" /**< Playlist name */
1226 * @brief You can use above define to set the condition of playlist filter and order keyword.
1229 #define PLAYLIST_ID "PLAYLIST_ID" /**< Playlist id */
1232 * @brief You can use above define to set the condition of playlist filter and order keyword.
1233 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1235 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER" /**< Playlist name */
1238 * @brief You can use above define to set the condition of playlist filter and order keyword.
1239 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1241 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT" /**< Media count in playlist view */
1248 * @addtogroup CAPI_CONTENT_MEDIA_TAG_MODULE
1250 * @brief You can use above define to set the condition of tag filter and order keyword.
1251 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1253 #define TAG_NAME "TAG_NAME" /**< Tag name */
1256 * @brief You can use above define to set the condition of tag filter and order keyword.
1259 #define TAG_ID "TAG_ID" /**< Tag id */
1263 * @brief You can use above define to set the condition of tag filter and order keyword.
1264 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1266 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT" /**< Media count in tag view */
1273 * @addtogroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
1275 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1276 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1278 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME" /**< Bookmark marked time */
1281 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1284 #define BOOKMARK_ID "BOOKMARK_ID" /**< Bookmark id */
1287 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1290 #define BOOKMARK_NAME "BOOKMARK_NAME" /**< Bookmark name */
1297 * @addtogroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
1299 * @brief You can use above define to set the condition of storage filter and order keyword.
1300 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1302 #define MEDIA_STORAGE_ID "STORAGE_ID" /**< Storage ID */
1305 * @brief You can use above define to set the condition of storage filter and order keyword.
1306 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1308 #define MEDIA_STORAGE_PATH "STORAGE_PATH" /**< Storage path */
1315 * @addtogroup CAPI_CONTENT_MEDIA_FACE_MODULE
1317 * @brief You can use above define to set the condition of face filter and order keyword.
1320 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG" /**< Face tag */
1323 * @brief You can use above define to set the condition of face filter and order keyword.
1326 #define MEDIA_FACE_ID "MEDIA_FACE_ID" /**< Face id */
1335 #endif /* __cplusplus */
1338 #endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/