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 #ifndef DEPRECATED_API
30 #define DEPRECATED_API __attribute__ ((deprecated))
34 * @file media_content_type.h
35 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
36 * classes of errors and definitions of media-data. \n
37 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
38 * when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
42 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
47 * @ingroup CAPI_MEDIA_CONTENT_MODULE
48 * @brief Enumeration for the media file format.
49 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
52 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
53 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
54 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
55 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
56 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
57 } media_content_type_e;
60 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
61 * @brief Enumeration for the storage type.
62 * @details This information is used to establish where the folder is.
63 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
66 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
67 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
68 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
69 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
70 } media_content_storage_e;
73 * @ingroup CAPI_MEDIA_CONTENT_MODULE
74 * @brief Enumeration for media content DB update items.
75 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
78 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
79 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
80 } media_content_db_update_item_type_e;
83 * @ingroup CAPI_MEDIA_CONTENT_MODULE
84 * @brief Enumeration for media content DB update types.
85 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
88 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
89 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
90 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
91 } media_content_db_update_type_e;
94 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
95 * @brief Enumeration for orientation types.
96 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
99 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
100 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
101 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
102 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
103 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
104 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
105 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
106 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
107 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
108 } media_content_orientation_e;
111 * @ingroup CAPI_MEDIA_CONTENT_MODULE
112 * @brief Enumeration for ordering.
113 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
116 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
117 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
118 MEDIA_CONTENT_ORDER_OTHER = 2, /** order by order key**/
119 } media_content_order_e;
122 * @ingroup CAPI_MEDIA_CONTENT_MODULE
123 * @brief Enumeration for collations.
124 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
127 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
128 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
129 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
130 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
131 } media_content_collation_e;
133 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
136 * @ingroup CAPI_MEDIA_CONTENT_MODULE
137 * @brief Enumeration for a media content error.
138 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
141 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
142 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
143 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
144 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
145 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
146 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
147 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
148 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
149 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
150 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
151 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
152 } media_content_error_e;
155 * @ingroup CAPI_MEDIA_CONTENT_MODULE
156 * @brief Enumeration for a media group.
157 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
160 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
161 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
162 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
163 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
164 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
165 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
166 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
167 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
168 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
169 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
170 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
171 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
172 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
173 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
174 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
175 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
176 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
177 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
178 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
179 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot*/
180 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
181 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author*/
182 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider*/
183 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name*/
184 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category*/
185 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag*/
186 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating*/
187 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword*/
188 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather*/
189 MEDIA_CONTENT_GROUP_MAX /**< Invalid media group ID*/
193 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
194 * @brief The structure type for the Media info handle.
195 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
197 typedef struct media_info_s *media_info_h;
200 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
201 * @brief The structure type for the Media folder handle.
202 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
204 typedef struct media_folder_s *media_folder_h;
207 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
208 * @brief The structure type for the Media playlist handle.
209 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
211 typedef struct media_playlist_s *media_playlist_h;
214 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
215 * @brief The structure type for the Media tag handle.
216 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
218 typedef struct media_tag_s *media_tag_h;
221 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
222 * @brief The structure type for the Media bookmark handle.
223 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
225 typedef struct media_bookmark_s *media_bookmark_h;
228 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
229 * @brief The structure type for the Media album handle.
230 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
232 typedef struct media_album_s *media_album_h;
235 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
236 * @brief The structure type for the Image metadata handle.
237 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
239 typedef struct image_meta_s *image_meta_h;
242 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
243 * @brief The structure type for the Video metadata handle.
244 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
246 typedef struct video_meta_s *video_meta_h;
249 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
250 * @brief The structure type for the Audio metadata handle.
251 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
253 typedef struct audio_meta_s *audio_meta_h;
256 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
257 * @brief The structure type for the Media filter handle.
258 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
260 typedef struct filter_s *filter_h;
263 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
264 * @brief The structure type for the Media storage handle.
265 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
267 typedef void *media_storage_h;
270 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
271 * @brief The structure type for the Media face handle.
274 typedef void *media_face_h;
277 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
278 * @brief The structure type for the Media content noti handle.
281 typedef void *media_content_noti_h;
284 * @ingroup CAPI_MEDIA_CONTENT_MODULE
285 * @brief Called when the media scanning is finished.
286 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
288 * @param[in] error The error code
289 * @param[in] user_data The user data passed from the foreach function
291 * @pre media_content_scan().
293 * @see media_content_scan()
296 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
299 * @ingroup CAPI_MEDIA_CONTENT_MODULE
300 * @brief Called when the notification of the media DB change is subscribed.
301 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
303 * @param[in] error The error code
304 * @param[in] pid The PID which publishes notification
305 * @param[in] update_item The update item of notification
306 * @param[in] update_type The update type of notification
307 * @param[in] media_type The type of the media content (#media_content_type_e)
308 * @param[in] uuid The UUID of media or directory, which is updated
309 * @param[in] path The path of the media or directory
310 * @param[in] mime_type The mime type of the media info
311 * @param[in] user_data The user data passed from the foreach function
313 * @pre media_content_db_update_subscribe().
314 * @see media_content_db_update_subscribe()
316 typedef void (*media_content_db_update_cb)(
317 media_content_error_e error,
319 media_content_db_update_item_type_e update_item,
320 media_content_db_update_type_e update_type,
321 media_content_type_e media_type,
329 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
330 * @brief Called for every available media info.
331 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
333 * @details Iterates over a list of media info.
335 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function.
337 * @param[in] media The handle to the media info
338 * @param[in] user_data The user data passed from the foreach function
340 * @return @c true to continue with the next iteration of the loop,
341 * otherwise @c false to break out of the loop
343 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
344 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
346 * @see media_info_clone()
347 * @see media_album_foreach_media_from_db()
348 * @see media_playlist_foreach_media_from_db()
349 * @see media_tag_foreach_media_from_db()
350 * @see media_info_foreach_media_from_db()
351 * @see media_folder_foreach_media_from_db()
353 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
357 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
358 * @brief Called when media items are inserted completely.
359 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
361 * @param[in] media The handle to the media info
362 * @param[in] user_data The user data passed from the foreach function
364 * @pre media_info_insert_batch_to_db()
366 * @see media_info_insert_batch_to_db()
368 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
372 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
373 * @brief Called when the burst shot is inserted completely.
374 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
376 * @param[in] media The handle to the media info
377 * @param[in] user_data The user data passed from the foreach function
379 * @pre media_info_insert_burst_shot_to_db()
381 * @see media_info_insert_burst_shot_to_db()
384 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
388 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
389 * @brief Called when creating a thumbnail image.
390 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
392 * @details This callback is called for completion of generating the thumbnail image.
394 * @param[in] error The error code
395 * @param[in] path The path of the thumbnail which is generated
396 * @param[in] user_data The user data passed from the foreach function
398 * @pre media_info_create_thumbnail()
400 * @see media_info_create_thumbnail()
402 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
405 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
406 * @brief Called when face detection on the image is completed.
408 * @details The following error codes can be delivered. \n
409 * #MEDIA_CONTENT_ERROR_NONE, \n
410 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
411 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
412 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
413 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
414 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
418 * @remarks The callback is called in a separate thread(not in the main loop).
420 * @param[in] error The error code
421 * @param[in] face_count The number of all detected faces
422 * @param[in] user_data The user data passed from the foreach function
424 * @pre media_info_start_face_detection()
426 * @see media_info_start_face_detection()
428 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
432 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
433 * @brief Called for every available media folder.
434 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
436 * @details Iterates over a list of folders.
438 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function.
440 * @param[in] folder The handle to the media folder
441 * @param[in] user_data The user data passed from the foreach function
443 * @return @c true to continue with the next iteration of the loop,
444 * otherwise @c false to break out of the loop
446 * @pre media_folder_foreach_folder_from_db() will invoke this function.
447 * @see media_folder_clone()
448 * @see media_folder_foreach_folder_from_db()
450 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
453 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
454 * @brief Called for every playlist in the obtained list of playlists.
455 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
457 * @details Iterates over a playlist list.
459 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function.
461 * @param[in] playlist The handle to the media playlist
462 * @param[in] user_data The user data passed from the foreach function
464 * @return @c true to continue with the next iteration of the loop,
465 * otherwise @c false to break out of the loop
467 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
469 * @see media_playlist_clone()
470 * @see media_playlist_foreach_playlist_from_db()
472 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
475 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
476 * @brief Called for every media info with playlist member ID in the obtained list of media info.
477 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
479 * @details Iterates over playlist members.
481 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function.
483 * @param[in] playlist_member_id The ID to member of the playlist
484 * @param[in] media The handle to the media info
485 * @param[in] user_data The user data passed from the foreach function
487 * @return @c true to continue with the next iteration of the loop,
488 * otherwise @c false to break out of the loop
490 * @pre media_playlist_foreach_media_from_db() will invoke this function.
492 * @see media_info_clone()
493 * @see media_playlist_foreach_media_from_db()
495 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
498 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
499 * @brief Called for every tag in the obtained list of tags.
500 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
502 * @details Iterates over a list of tags.
504 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function.
506 * @param[in] tag The handle to the media tag
507 * @param[in] user_data The user data passed from the foreach function
509 * @return @c true to continue with the next iteration of the loop,
510 * otherwise @c false to break out of the loop
512 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
514 * @see media_tag_clone()
515 * @see media_tag_foreach_tag_from_db()
516 * @see media_info_foreach_tag_from_db()
518 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
521 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
522 * @brief Called for every bookmark in the obtained list of bookmarks.
523 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
525 * @details Iterates over a bookmark list.
527 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function.
529 * @param[in] bookmark The handle to the video bookmark
530 * @param[in] user_data The user data passed from the foreach function
532 * @return @c true to continue with the next iteration of the loop,
533 * otherwise @c false to break out of the loop
535 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
537 * @see media_info_foreach_bookmark_from_db()
539 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
542 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
543 * @brief Called for every album in the obtained list of groups.
544 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
546 * @details Iterates over an album list.
548 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function.
550 * @param[in] album The handle to the media album
551 * @param[in] user_data The user data passed from the foreach function
553 * @return @c true to continue with the next iteration of the loop,
554 * otherwise @c false to break out of the loop
556 * @pre media_album_foreach_album_from_db() will invoke this function.
558 * @see media_album_clone()
559 * @see media_album_foreach_album_from_db()
561 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
564 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
565 * @brief Called for every group in the obtained list of groups.
566 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
568 * @details Iterates over a media group list.
570 * @remarks You should not free @a group_name returned by this function.
572 * @param[in] group_name The name of the media group
573 * @param[in] user_data The user data passed from the foreach function
575 * @return @c true to continue with the next iteration of the loop,
576 * otherwise @c false to break out of the loop
578 * @pre media_group_foreach_group_from_db() will invoke this function.
580 * @see media_group_foreach_group_from_db()
582 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
585 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
586 * @brief Called for every storage in the obtained list of storages.
587 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
589 * @details Iterates over a media storage list.
591 * @remarks You should not destroy @a storage returned by this function.
593 * @param[in] storage The handle of the media storage
594 * @param[in] user_data The user data passed from the foreach function
596 * @return @c true to continue with the next iteration of the loop,
597 * otherwise @c false to break out of the loop
599 * @pre media_storage_foreach_storage_from_db() will invoke this function.
601 * @see media_storage_foreach_storage_from_db()
603 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
606 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
607 * @brief Called for every face in the obtained list of face.
610 * @details Iterates over a media face list.
612 * @remarks You should not destroy @a face returned by this function.
614 * @param[in] face The handle of the media face
615 * @param[in] user_data The user data passed from the foreach function
617 * @return @c true to continue with the next iteration of the loop,
618 * otherwise @c false to break out of the loop
620 * @pre media_info_foreach_face_from_db() will invoke this function.
622 * @see media_info_foreach_face_from_db()
624 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
631 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
636 * @brief You can use above define to set the condition of media filter and order keyword.
637 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
640 #define MEDIA_ID "MEDIA_ID" /**< Media ID */
643 * @brief You can use above define to set the condition of media filter and order keyword.
644 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
647 #define MEDIA_PATH "MEDIA_PATH" /**< Media full path */
650 * @brief You can use above define to set the condition of media filter and order keyword.
651 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
654 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME" /**< Media base name */
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_TYPE "MEDIA_TYPE" /**< Media type: 0-image, 1-video, 2-sound, 3-music, 4-other*/
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_MIME_TYPE "MEDIA_MIME_TYPE" /**< Media MIME type */
672 * @brief You can use above define to set the condition of media filter and order keyword.
673 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
676 #define MEDIA_SIZE "MEDIA_SIZE" /**< Media MIME size */
679 * @brief You can use above define to set the condition of media filter and order keyword.
680 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
683 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME" /**< Media added time */
686 * @brief You can use above define to set the condition of media filter and order keyword.
687 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
690 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME" /**< Media modified time */
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_TIMELINE "MEDIA_TIMELINE" /**< Media modified time */
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_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH" /**< Media thumbnail path */
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_TITLE "MEDIA_TITLE" /**< Media title get from tag or file name */
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_ALBUM "MEDIA_ALBUM" /**< Media album name*/
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_ARTIST "MEDIA_ARTIST" /**< Media artist*/
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_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST" /**< Media album_artist*/
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_GENRE "MEDIA_GENRE" /**< Media genre*/
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_COMPOSER "MEDIA_COMPOSER" /**< Media composer*/
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_YEAR "MEDIA_YEAR" /**< Media year*/
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_RECORDED_DATE "MEDIA_RECORDED_DATE" /**< Media recorded date*/
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_COPYRIGHT "MEDIA_COPYRIGHT" /**< Media copyright*/
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_TRACK_NUM "MEDIA_TRACK_NUM" /**< Media track number*/
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_DESCRIPTION "MEDIA_DESCRIPTION" /**< Media description*/
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_BITRATE "MEDIA_BITRATE" /**< Media bitrate*/
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_BITPERSAMPLE "MEDIA_BITPERSAMPLE" /**< Media bit per sample*/
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_SAMPLERATE "MEDIA_SAMPLERATE" /**< Media sample rate*/
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_CHANNEL "MEDIA_CHANNEL" /**< Media channel*/
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_DURATION "MEDIA_DURATION" /**< Media duration */
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_LONGITUDE "MEDIA_LONGITUDE" /**< Media longitude */
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_LATITUDE "MEDIA_LATITUDE" /**< Media latitude */
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_ALTITUDE "MEDIA_ALTITUDE" /**< Media altitude */
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_WIDTH "MEDIA_WIDTH" /**< Media width*/
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_HEIGHT "MEDIA_HEIGHT" /**< Media height*/
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_DATETAKEN "MEDIA_DATETAKEN" /**< Media datetaken*/
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_ORIENTATION "MEDIA_ORIENTATION" /**< Media orientation*/
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_BURST_ID "BURST_ID" /**< Media burst ID*/
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_PLAYED_COUNT "MEDIA_PLAYED_COUNT" /**< Media playedcount*/
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_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME" /**< Media last played time*/
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_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION" /**< Media last played position of file*/
896 * @brief You can use above define to set the condition of media filter and order keyword.
897 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
900 #define MEDIA_RATING "MEDIA_RATING" /**< Media rating*/
903 * @brief 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
907 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE" /**< 0-not favourite, 1-favourite*/
910 * @brief You can use above define to set the condition of media filter and order keyword.
911 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
914 #define MEDIA_AUTHOR "MEDIA_AUTHOR" /**< Media authore*/
917 * @brief You can use above define to set the condition of media filter and order keyword.
918 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
921 #define MEDIA_PROVIDER "MEDIA_PROVIDER" /**< Media provider*/
924 * @brief You can use above define to set the condition of media filter and order keyword.
925 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
928 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME" /**< Media content name*/
931 * @brief You can use above define to set the condition of media filter and order keyword.
932 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
935 #define MEDIA_CATEGORY "MEDIA_CATEGORY" /**< Media category*/
938 * @brief You can use above define to set the condition of media filter and order keyword.
939 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
942 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG" /**< Media location tag*/
945 * @brief You can use above define to set the condition of media filter and order keyword.
946 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
949 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING" /**< Media age rating*/
952 * @brief You can use above define to set the condition of media filter and order keyword.
953 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
956 #define MEDIA_KEYWORD "MEDIA_KEYWORD" /**< Media keyword*/
959 * @brief 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
963 #define MEDIA_WEATHER "MEDIA_WEATHER" /**< Media weather*/
966 * @brief You can use above define to set the condition of media filter and order keyword.
967 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
970 #define MEDIA_IS_DRM "MEDIA_IS_DRM" /**< Is DRM. 0-not drm, 1-drm*/
973 * @brief You can use above define to set the condition of media filter and order keyword.
974 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
977 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE" /**< Media storage. 0-internal storage, 1-external storage*/
980 * @brief You can use above define to set the condition of media filter and order keyword.
981 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
984 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME" /**< media exposure_time*/
987 * @brief You can use above define to set the condition of media filter and order keyword.
988 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
991 #define MEDIA_FNUMBER "MEDIA_FNUMBER" /**< media fnumber*/
994 * @brief You can use above define to set the condition of media filter and order keyword.
995 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
998 #define MEDIA_ISO "MEDIA_ISO" /**< media iso*/
1001 * @brief You can use above define to set the condition of media filter and order keyword.
1002 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1005 #define MEDIA_MODEL "MEDIA_MODEL" /**< media model*/
1008 * @brief You can use above define to set the condition of media filter and order keyword.
1009 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1012 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN" /**< Media file name pinyin */
1015 * @brief 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
1019 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN" /**< Media title pinyin */
1022 * @brief You can use above define to set the condition of media filter and order keyword.
1023 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1026 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN" /**< Media album pinyin*/
1029 * @brief You can use above define to set the condition of media filter and order keyword.
1030 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1033 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN" /**< Media artist pinyin*/
1036 * @brief You can use above define to set the condition of media filter and order keyword.
1037 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1040 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN" /**< Media album_artist pinyin*/
1043 * @brief You can use above define to set the condition of media filter and order keyword.
1044 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1047 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN" /**< Media genre pinyin*/
1050 * @brief You can use above define to set the condition of media filter and order keyword.
1051 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1054 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN" /**< Media composer pinyin*/
1057 * @brief You can use above define to set the condition of media filter and order keyword.
1058 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1061 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN" /**< Media copyright pinyin*/
1064 * @brief You can use above define to set the condition of media filter and order keyword.
1065 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1068 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN" /**< Media description pinyin*/
1071 * @brief You can use above define to set the condition of media filter and order keyword.
1072 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1075 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN" /**< Media authore pinyin*/
1078 * @brief You can use above define to set the condition of media filter and order keyword.
1079 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1082 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN" /**< Media provider pinyin*/
1085 * @brief 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
1089 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN" /**< Media content name pinyin*/
1092 * @brief You can use above define to set the condition of media filter and order keyword.
1093 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1096 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN" /**< Media category pinyin*/
1099 * @brief You can use above define to set the condition of media filter and order keyword.
1100 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1103 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN" /**< Media location tag pinyin*/
1106 * @brief You can use above define to set the condition of media filter and order keyword.
1107 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1110 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN" /**< Media age rating pinyin*/
1113 * @brief You can use above define to set the condition of media filter and order keyword.
1114 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1117 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN" /**< Media keyword pinyin*/
1120 * @brief You can use above define to set the condition of media filter and order keyword.
1124 #define MEDIA_360 "MEDIA_360"
1132 * @addtogroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
1137 * @brief You can use above define to set the condition of folder filter and order keyword.
1138 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1140 #define FOLDER_ID "FOLDER_ID" /**< Folder ID */
1143 * @brief You can use above define to set the condition of folder filter and order keyword.
1144 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1146 #define FOLDER_PATH "FOLDER_PATH" /**< Folder full path */
1149 * @brief You can use above define to set the condition of folder filter and order keyword.
1150 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1152 #define FOLDER_NAME "FOLDER_NAME" /**< Folder base name */
1155 * @brief You can use above define to set the condition of folder filter and order keyword.
1156 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1158 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME" /**< Folder modified time */
1161 * @brief You can use above define to set the condition of folder filter and order keyword.
1162 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1164 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE" /**< Folder storage. 0-internal storage, 1-external storage*/
1167 * @brief You can use above define to set the condition of folder filter and order keyword.
1168 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1170 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN" /**< Folder base name pinyin*/
1173 * @brief You can use above define to set the condition of folder filter and order keyword.
1174 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1176 #define FOLDER_ORDER "FOLDER_ORDER" /**< Folder order info */
1179 * @brief You can use above define to set the condition of folder filter and order keyword.
1180 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1182 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID" /**< parent folder id */
1189 * @addtogroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
1191 * @brief You can use above define to set the condition of playlist filter and order keyword.
1192 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1194 #define PLAYLIST_NAME "PLAYLIST_NAME" /**< Playlist name */
1197 * @brief You can use above define to set the condition of playlist filter and order keyword.
1198 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1200 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER" /**< Playlist name */
1203 * @brief You can use above define to set the condition of playlist filter and order keyword.
1204 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1206 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT" /**< Media count in playlist view */
1213 * @addtogroup CAPI_CONTENT_MEDIA_TAG_MODULE
1215 * @brief You can use above define to set the condition of tag filter and order keyword.
1216 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1218 #define TAG_NAME "TAG_NAME" /**< Tag name */
1221 * @brief You can use above define to set the condition of tag filter and order keyword.
1222 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1224 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT" /**< Media count in tag view */
1231 * @addtogroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
1233 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1234 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1236 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME" /**< Bookmark marked time */
1243 * @addtogroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
1245 * @brief You can use above define to set the condition of storage filter and order keyword.
1246 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1248 #define MEDIA_STORAGE_ID "STORAGE_ID" /**< Storage ID */
1251 * @brief You can use above define to set the condition of storage filter and order keyword.
1252 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1254 #define MEDIA_STORAGE_PATH "STORAGE_PATH" /**< Storage path */
1257 * @brief You can use above define to set the condition of face filter and order keyword.
1260 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG" /**< face tag */
1269 #endif /* __cplusplus */
1272 #endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/