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_CONTENT_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_CONTENT_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 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
45 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
46 * %http://tizen.org/feature/content.scanning.others\n
47 * If this feature is not supported on the device, #MEDIA_CONTENT_TYPE_OTHERS type file is not scanned.
50 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
51 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
52 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
53 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
54 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
55 } media_content_type_e;
58 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
59 * @deprecated Deprecated since 5.0.
60 * @brief Enumeration for the storage type.
61 * @details This information is used to establish where the folder is.
62 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
65 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
66 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
67 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
68 } media_content_storage_e;
71 * @ingroup CAPI_MEDIA_CONTENT_MODULE
72 * @brief Enumeration for media content DB update items.
73 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
76 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
77 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
78 } media_content_db_update_item_type_e;
81 * @ingroup CAPI_MEDIA_CONTENT_MODULE
82 * @brief Enumeration for media content DB update types.
83 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
86 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
87 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
88 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
89 } media_content_db_update_type_e;
92 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
93 * @brief Enumeration for orientation types.
94 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
97 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
98 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
99 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
100 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
101 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
102 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
103 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
104 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
105 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
106 } media_content_orientation_e;
109 * @ingroup CAPI_MEDIA_CONTENT_MODULE
110 * @brief Enumeration for ordering.
111 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
114 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
115 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
116 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
117 } media_content_order_e;
120 * @ingroup CAPI_MEDIA_CONTENT_MODULE
121 * @brief Enumeration for collations.
122 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
125 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
126 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
127 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
128 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
129 } media_content_collation_e;
132 * @brief Error class.
133 * @details Class for Media Content error
134 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
137 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
140 * @ingroup CAPI_MEDIA_CONTENT_MODULE
141 * @brief Enumeration for a media content error.
142 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
145 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
146 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
147 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
148 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
149 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
150 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
151 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
152 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
153 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
154 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
155 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
156 } media_content_error_e;
159 * @ingroup CAPI_MEDIA_CONTENT_MODULE
160 * @brief Enumeration for a media group.
161 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
164 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
165 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
166 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
167 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
168 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
169 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
170 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
171 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
172 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
173 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
174 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
175 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
176 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
177 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
178 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
179 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
180 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
181 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
182 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
183 MEDIA_CONTENT_GROUP_RATING = 20, /**< Media group ID for a rating*/
184 MEDIA_CONTENT_GROUP_MAX = 29 /**< 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 * @deprecated Deprecated since 5.0.
260 * @brief The structure type for the Media storage handle.
261 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
263 typedef void *media_storage_h;
266 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
267 * @brief The structure type for the Media face handle.
270 typedef void *media_face_h;
273 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
274 * @brief The structure type for the Media content noti handle.
277 typedef void *media_content_noti_h;
280 * @ingroup CAPI_MEDIA_CONTENT_MODULE
281 * @brief Called when the media scanning is finished.
282 * @details The following error codes can be received: \n
283 * #MEDIA_CONTENT_ERROR_NONE : Success \n
284 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
285 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
286 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
287 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
288 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
289 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
290 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
291 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
292 * @remarks The callback is called in a separate thread(not in the main loop).
294 * @param[in] error The error code
295 * @param[in] user_data The user data passed from the foreach function
297 * @pre media_content_scan_folder().
298 * @see media_content_scan_folder()
300 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
303 * @ingroup CAPI_MEDIA_CONTENT_MODULE
304 * @brief Called when the notification of the media DB change is subscribed.
305 * @details The following error codes can be received: \n
306 * #MEDIA_CONTENT_ERROR_NONE : Success \n
307 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
309 * @remarks The callback is called in a separate thread(not in the main loop).
311 * @param[in] error The error code
312 * @param[in] pid The PID which publishes notification
313 * @param[in] update_item The update item of notification
314 * @param[in] update_type The update type of notification
315 * @param[in] media_type The type of the media content (#media_content_type_e)
316 * @param[in] uuid The UUID of media or directory, which is updated
317 * @param[in] path The path of the media or directory
318 * @param[in] mime_type The MIME of the media info
319 * @param[in] user_data The user data passed from the foreach function
321 * @pre media_content_add_db_updated_cb().
322 * @see media_content_add_db_updated_cb()
324 typedef void (*media_content_db_update_cb)(
325 media_content_error_e error,
327 media_content_db_update_item_type_e update_item,
328 media_content_db_update_type_e update_type,
329 media_content_type_e media_type,
337 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
338 * @brief Called for every available media info.
339 * @details Iterates over a list of media info.
340 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
342 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
343 * The callback is called in the main loop.
345 * @param[in] media The handle to the media info
346 * @param[in] user_data The user data passed from the foreach function
348 * @return @c true to continue with the next iteration of the loop,
349 * otherwise @c false to break out of the loop
351 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
352 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
354 * @see media_info_clone()
355 * @see media_album_foreach_media_from_db()
356 * @see media_playlist_foreach_media_from_db()
357 * @see media_tag_foreach_media_from_db()
358 * @see media_info_foreach_media_from_db()
359 * @see media_folder_foreach_media_from_db()
361 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
365 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
366 * @brief Called when media items are inserted completely.
367 * @details The following error codes can be received: \n
368 * #MEDIA_CONTENT_ERROR_NONE : Success \n
369 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
370 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
371 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
372 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
373 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
374 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
375 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
376 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
377 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
379 * @remarks The callback is called in a separate thread(not in the main loop).
381 * @param[in] error The error code
382 * @param[in] user_data The user data passed from the foreach function
384 * @pre media_info_insert_batch_to_db()
385 * @see media_info_insert_batch_to_db()
387 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
391 * @deprecated Deprecated since 5.0.
392 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
393 * @brief Called when creating a thumbnail image.
394 * @details This callback is called for completion of generating the thumbnail image.
395 * The following error codes can be delivered. \n
396 * #MEDIA_CONTENT_ERROR_NONE, \n
397 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
398 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
399 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
400 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
401 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
402 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
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()
411 * @see media_info_create_thumbnail()
413 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
416 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
417 * @brief Called when face detection on the image is completed.
419 * @details The following error codes can be delivered. \n
420 * #MEDIA_CONTENT_ERROR_NONE, \n
421 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
422 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
423 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
424 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
425 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
429 * @remarks The callback is called in a separate thread(not in the main loop).
431 * @param[in] error The error code
432 * @param[in] face_count The number of all detected faces
433 * @param[in] user_data The user data passed from the foreach function
435 * @pre media_info_start_face_detection()
436 * @see media_info_start_face_detection()
438 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
442 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
443 * @brief Called for every available media folder.
444 * @details Iterates over a list of folders.
446 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
448 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
449 * The callback is called in the main loop.
451 * @param[in] folder The handle to the media folder
452 * @param[in] user_data The user data passed from the foreach function
454 * @return @c true to continue with the next iteration of the loop,
455 * otherwise @c false to break out of the loop
457 * @pre media_folder_foreach_folder_from_db() will invoke this function.
458 * @see media_folder_clone()
459 * @see media_folder_foreach_folder_from_db()
461 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
464 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
465 * @brief Called for every playlist in the obtained list of playlists.
466 * @details Iterates over a playlist list.
468 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
470 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
471 * The callback is called in the main loop.
473 * @param[in] playlist The handle to the media playlist
474 * @param[in] user_data The user data passed from the foreach function
476 * @return @c true to continue with the next iteration of the loop,
477 * otherwise @c false to break out of the loop
479 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
481 * @see media_playlist_clone()
482 * @see media_playlist_foreach_playlist_from_db()
484 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
487 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
488 * @brief Called for every media info with playlist member ID in the obtained list of media info.
489 * @details Iterates over playlist members.
491 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
493 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
494 * The callback is called in the main loop.
496 * @param[in] playlist_member_id The ID of the playlist member
497 * @param[in] media The handle to the media info
498 * @param[in] user_data The user data passed from the foreach function
500 * @return @c true to continue with the next iteration of the loop,
501 * otherwise @c false to break out of the loop
503 * @pre media_playlist_foreach_media_from_db() will invoke this function.
505 * @see media_info_clone()
506 * @see media_playlist_foreach_media_from_db()
508 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
511 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
512 * @brief Called for every tag in the obtained list of tags.
513 * @details Iterates over a list of tags.
515 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
517 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
518 * The callback is called in the main loop.
520 * @param[in] tag The handle to the media tag
521 * @param[in] user_data The user data passed from the foreach function
523 * @return @c true to continue with the next iteration of the loop,
524 * otherwise @c false to break out of the loop
526 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
528 * @see media_tag_clone()
529 * @see media_tag_foreach_tag_from_db()
530 * @see media_info_foreach_tag_from_db()
532 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
535 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
536 * @brief Called for every bookmark in the obtained list of bookmarks.
537 * @details Iterates over a bookmark list.
539 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
541 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
542 * The callback is called in the main loop.
544 * @param[in] bookmark The handle to the media bookmark
545 * @param[in] user_data The user data passed from the foreach function
547 * @return @c true to continue with the next iteration of the loop,
548 * otherwise @c false to break out of the loop
550 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
551 * @see media_info_foreach_bookmark_from_db()
553 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
556 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
557 * @brief Called for every album in the obtained list of groups.
558 * @details Iterates over an album list.
560 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
562 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
563 * The callback is called in the main loop.
565 * @param[in] album The handle to the media album
566 * @param[in] user_data The user data passed from the foreach function
568 * @return @c true to continue with the next iteration of the loop,
569 * otherwise @c false to break out of the loop
571 * @pre media_album_foreach_album_from_db() will invoke this function.
573 * @see media_album_clone()
574 * @see media_album_foreach_album_from_db()
576 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
579 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
580 * @brief Called for every group in the obtained list of groups.
581 * @details Iterates over a media group list.
583 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
585 * @remarks You should not free @a group_name returned by this function. \n
586 * The callback is called in the main loop.
588 * @param[in] group_name The name of the media group
589 * @param[in] user_data The user data passed from the foreach function
591 * @return @c true to continue with the next iteration of the loop,
592 * otherwise @c false to break out of the loop
594 * @pre media_group_foreach_group_from_db() will invoke this function.
595 * @see media_group_foreach_group_from_db()
597 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
600 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
601 * @deprecated Deprecated since 5.0.
602 * @brief Called for every storage in the obtained list of storages.
603 * @details Iterates over a media storage list.
605 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
607 * @remarks You should not destroy @a storage returned by this function. \n
608 * The callback is called in the main loop.
610 * @param[in] storage The handle of the media storage
611 * @param[in] user_data The user data passed from the foreach function
613 * @return @c true to continue with the next iteration of the loop,
614 * otherwise @c false to break out of the loop
616 * @pre media_storage_foreach_storage_from_db() will invoke this function.
617 * @see media_storage_foreach_storage_from_db()
619 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
622 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
623 * @brief Called for every face in the obtained list of face.
624 * @details Iterates over a media face list.
628 * @remarks You should not destroy @a face returned by this function. \n
629 * The callback is called in the main loop.
631 * @param[in] face The handle of the media face
632 * @param[in] user_data The user data passed from the foreach function
634 * @return @c true to continue with the next iteration of the loop,
635 * otherwise @c false to break out of the loop
637 * @pre media_info_foreach_face_from_db() will invoke this function.
638 * @see media_info_foreach_face_from_db()
640 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
647 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
653 * @details You can use above define to set the condition of media filter and order keyword.
654 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
657 #define MEDIA_ID "MEDIA_ID"
660 * @brief Media full path.
661 * @details You can use above define to set the condition of media filter and order keyword.
662 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
665 #define MEDIA_PATH "MEDIA_PATH"
668 * @brief The file name including the extension.
669 * @details You can use above define to set the condition of media filter and order keyword.
670 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
673 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
677 * @details There are 5 media types:\n
678 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
679 * 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_TYPE "MEDIA_TYPE"
686 * @brief Media MIME type.
687 * @details You can use above define to set the condition of media filter and order keyword.
688 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
691 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
695 * @brief Media file size.
696 * @details You can use above define to set the condition of media filter and order keyword.
697 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
700 #define MEDIA_SIZE "MEDIA_SIZE"
703 * @brief The time that content file was first added to media database.
704 * @details You can use above define to set the condition of media filter and order keyword.
705 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
708 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
711 * @brief The last modification time provided by the file system.
712 * @details You can use above define to set the condition of media filter and order keyword.
713 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
716 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
719 * @brief Media created time.
720 * @details You can use above define to set the condition of media filter and order keyword.
721 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
724 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
727 * @brief Media thumbnail path.
728 * @details 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_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
735 * @brief Media title get from tag or file name.
736 * @details You can use above define to set the condition of media filter and order keyword.
737 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
740 #define MEDIA_TITLE "MEDIA_TITLE"
743 * @brief Media album name.
744 * @details You can use above define to set the condition of media filter and order keyword.
745 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
748 #define MEDIA_ALBUM "MEDIA_ALBUM"
751 * @brief Media artist.
752 * @details You can use above define to set the condition of media filter and order keyword.
753 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
756 #define MEDIA_ARTIST "MEDIA_ARTIST"
759 * @brief Media album artist.
760 * @details You can use above define to set the condition of media filter and order keyword.
761 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
764 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
767 * @brief Media genre.
768 * @details You can use above define to set the condition of media filter and order keyword.
769 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
772 #define MEDIA_GENRE "MEDIA_GENRE"
775 * @brief Media composer.
776 * @details You can use above define to set the condition of media filter and order keyword.
777 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
780 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
784 * @details 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_YEAR "MEDIA_YEAR"
791 * @brief Media recorded date.
792 * @details You can use above define to set the condition of media filter and order keyword.
793 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
796 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
799 * @brief Media copyright.
800 * @details You can use above define to set the condition of media filter and order keyword.
801 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
804 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
807 * @brief Media track number.
808 * @details You can use above define to set the condition of media filter and order keyword.
809 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
812 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
815 * @brief Media description.
816 * @details You can use above define to set the condition of media filter and order keyword.
817 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
820 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
823 * @brief Media bitrate.
824 * @details You can use above define to set the condition of media filter and order keyword.
825 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
828 #define MEDIA_BITRATE "MEDIA_BITRATE"
831 * @brief Media bit per sample.
832 * @details You can use above define to set the condition of media filter and order keyword.
833 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
836 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
839 * @brief Media sample rate.
840 * @details 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_SAMPLERATE "MEDIA_SAMPLERATE"
847 * @brief Media channel.
848 * @details You can use above define to set the condition of media filter and order keyword.
849 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
852 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
855 * @brief Media duration.
856 * @details You can use above define to set the condition of media filter and order keyword.
857 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
860 #define MEDIA_DURATION "MEDIA_DURATION"
863 * @brief Media longitude.
864 * @details You can use above define to set the condition of media filter and order keyword.
865 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
868 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
871 * @brief Media latitude.
872 * @details You can use above define to set the condition of media filter and order keyword.
873 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
876 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
879 * @brief Media altitude.
880 * @details You can use above define to set the condition of media filter and order keyword.
881 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
884 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
887 * @brief Media width.
888 * @details You can use above define to set the condition of media filter and order keyword.
889 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
892 #define MEDIA_WIDTH "MEDIA_WIDTH"
895 * @brief Media height.
896 * @details 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_HEIGHT "MEDIA_HEIGHT"
903 * @brief Media datetaken.
904 * @details You can use above define to set the condition of media filter and order keyword.
905 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
908 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
911 * @brief Media orientation.
912 * @details You can use above define to set the condition of media filter and order keyword.
913 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
916 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
919 * @brief Media rating.
920 * @details 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"
927 * @brief The time to register favourite.
928 * @details You can use above define to set the condition of media filter and order keyword.
929 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
932 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
936 * @details There are 2 types:\n
938 * 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_IS_DRM "MEDIA_IS_DRM"
945 * @deprecated Deprecated since 5.0.
946 * @brief Media storage.
947 * @details There are 2 types:\n
948 * 0-internal storage, 1-external storage\n
949 * 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_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
956 * @brief Media exposure time.
957 * @details You can use above define to set the condition of media filter and order keyword.
958 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
961 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
964 * @brief Media fnumber.
965 * @details You can use above define to set the condition of media filter and order keyword.
966 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
969 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
973 * @details You can use above define to set the condition of media filter and order keyword.
974 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
977 #define MEDIA_ISO "MEDIA_ISO"
980 * @brief Media model.
981 * @details You can use above define to set the condition of media filter and order keyword.
982 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
985 #define MEDIA_MODEL "MEDIA_MODEL"
988 * @brief Media file name pinyin.
989 * @details You can use above define to set the condition of media filter and order keyword.
990 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
991 * @remarks Since 4.0, this keyword is related to the following feature:\n
992 * - %http://tizen.org/feature/content.filter.pinyin\n
993 * If this feature is not supported on the device, PINYIN search does not work.
996 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
999 * @brief Media title pinyin.
1000 * @details You can use above define to set the condition of media filter and order keyword.
1001 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1002 * @remarks Since 4.0, this keyword is related to the following feature:\n
1003 * - %http://tizen.org/feature/content.filter.pinyin\n
1004 * If this feature is not supported on the device, PINYIN search does not work.
1007 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1010 * @brief Media album pinyin.
1011 * @details You can use above define to set the condition of media filter and order keyword.
1012 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1013 * @remarks Since 4.0, this keyword is related to the following feature:\n
1014 * - %http://tizen.org/feature/content.filter.pinyin\n
1015 * If this feature is not supported on the device, PINYIN search does not work.
1018 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1021 * @brief Media artist pinyin.
1022 * @details 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
1024 * @remarks Since 4.0, this keyword is related to the following feature:\n
1025 * - %http://tizen.org/feature/content.filter.pinyin\n
1026 * If this feature is not supported on the device, PINYIN search does not work.
1029 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1032 * @brief Media album artist pinyin.
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 * @remarks Since 4.0, this keyword is related to the following feature:\n
1036 * - %http://tizen.org/feature/content.filter.pinyin\n
1037 * If this feature is not supported on the device, PINYIN search does not work.
1040 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1043 * @brief Media genre pinyin.
1044 * @details You can use above define to set the condition of media filter and order keyword.
1045 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1046 * @remarks Since 4.0, this keyword is related to the following feature:\n
1047 * - %http://tizen.org/feature/content.filter.pinyin\n
1048 * If this feature is not supported on the device, PINYIN search does not work.
1051 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1054 * @brief Media composer pinyin.
1055 * @details 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
1057 * @remarks Since 4.0, this keyword is related to the following feature:\n
1058 * - %http://tizen.org/feature/content.filter.pinyin\n
1059 * If this feature is not supported on the device, PINYIN search does not work.
1062 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1065 * @brief Media copyright pinyin.
1066 * @details You can use above define to set the condition of media filter and order keyword.
1067 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1068 * @remarks Since 4.0, this keyword is related to the following feature:\n
1069 * - %http://tizen.org/feature/content.filter.pinyin\n
1070 * If this feature is not supported on the device, PINYIN search does not work.
1073 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1076 * @brief Media description pinyin.
1077 * @details You can use above define to set the condition of media filter and order keyword.
1078 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1079 * @remarks Since 4.0, this keyword is related to the following feature:\n
1080 * - %http://tizen.org/feature/content.filter.pinyin\n
1081 * If this feature is not supported on the device, PINYIN search does not work.
1084 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1087 * @brief Virtual Reality content.
1088 * @details You can use above define to set the condition of media filter and order keyword.
1092 #define MEDIA_360 "MEDIA_360"
1096 * @details You can use above define to set the condition of folder filter and order keyword.
1097 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1099 #define FOLDER_ID "FOLDER_ID"
1102 * @brief Folder full path.
1103 * @details You can use above define to set the condition of folder filter and order keyword.
1104 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1106 #define FOLDER_PATH "FOLDER_PATH"
1109 * @brief Folder base name.
1110 * @details You can use above define to set the condition of folder filter and order keyword.
1111 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1113 #define FOLDER_NAME "FOLDER_NAME"
1116 * @deprecated Deprecated since 5.0.
1117 * @brief Folder storage.
1118 * @details There are 2 types:\n
1119 * 0-internal storage, 1-external storage\n
1120 * You can use above define to set the condition of folder filter and order keyword.
1121 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1123 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1126 * @brief Folder base name pinyin.
1127 * @details You can use above define to set the condition of folder filter and order keyword.
1128 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1129 * @remarks Since 4.0, this keyword is related to the following feature:\n
1130 * - %http://tizen.org/feature/content.filter.pinyin\n
1131 * If this feature is not supported on the device, PINYIN search does not work.
1133 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1136 * @brief Playlist name.
1137 * @details You can use above define to set the condition of playlist filter and order keyword.
1138 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1140 #define PLAYLIST_NAME "PLAYLIST_NAME"
1143 * @brief Playlist id.
1144 * @details You can use above define to set the condition of playlist filter and order keyword.
1147 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1150 * @brief Playlist member order.
1151 * @details You can use above define to set the condition of playlist filter and order keyword.
1152 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1154 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1157 * @brief Media count in playlist.
1158 * @details You can use above define to set the condition of playlist filter and order keyword.
1159 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1161 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1165 * @details You can use above define to set the condition of tag filter and order keyword.
1166 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1168 #define TAG_NAME "TAG_NAME"
1172 * @details You can use above define to set the condition of tag filter and order keyword.
1175 #define MEDIA_TAG_ID "TAG_ID"
1178 * @brief Media count in tag.
1179 * @details You can use above define to set the condition of tag filter and order keyword.
1180 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1182 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1185 * @brief Bookmark marked time.
1186 * @details You can use above define to set the condition of bookmark filter and order keyword.
1187 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1189 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1192 * @brief Bookmark id.
1193 * @details You can use above define to set the condition of bookmark filter and order keyword.
1196 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1199 * @brief Bookmark name.
1200 * @details You can use above define to set the condition of bookmark filter and order keyword.
1203 #define BOOKMARK_NAME "BOOKMARK_NAME"
1206 * @deprecated Deprecated since 5.0.
1207 * @brief Storage ID.
1208 * @details You can use above define to set the condition of storage filter and order keyword.
1209 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1211 #define MEDIA_STORAGE_ID "STORAGE_ID"
1214 * @deprecated Deprecated since 5.0.
1215 * @brief Storage path.
1216 * @details You can use above define to set the condition of storage filter and order keyword.
1217 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1219 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1223 * @details You can use above define to set the condition of face filter and order keyword.
1226 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1230 * @details You can use above define to set the condition of face filter and order keyword.
1233 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1242 #endif /* __cplusplus */
1245 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/