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_BOOK = 5, /**<The type of book (Since 6.5)*/
56 } media_content_type_e;
59 * @ingroup CAPI_MEDIA_CONTENT_MODULE
60 * @deprecated Deprecated since 5.0.
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_e;
72 * @ingroup CAPI_MEDIA_CONTENT_MODULE
73 * @brief Enumeration for media content DB update items.
74 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
77 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
78 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
79 } media_content_db_update_item_type_e;
82 * @ingroup CAPI_MEDIA_CONTENT_MODULE
83 * @brief Enumeration for media content DB update types.
84 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
87 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
88 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
89 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
90 } media_content_db_update_type_e;
93 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
94 * @brief Enumeration for orientation types.
95 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
98 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
99 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
100 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
101 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
102 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
103 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
104 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
105 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
106 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
107 } media_content_orientation_e;
110 * @ingroup CAPI_MEDIA_CONTENT_MODULE
111 * @brief Enumeration for ordering.
112 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
115 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
116 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
117 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
118 } media_content_order_e;
121 * @ingroup CAPI_MEDIA_CONTENT_MODULE
122 * @brief Enumeration for collations.
123 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
126 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
127 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
128 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
129 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
130 } media_content_collation_e;
133 * @brief Error class.
134 * @details Class for Media Content error
135 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
138 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
141 * @ingroup CAPI_MEDIA_CONTENT_MODULE
142 * @brief Enumeration for a media content error.
143 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
146 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
147 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
148 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
149 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
150 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
151 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
152 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
153 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
154 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
155 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
156 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
157 } media_content_error_e;
160 * @ingroup CAPI_MEDIA_CONTENT_MODULE
161 * @brief Enumeration for a media group.
162 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
165 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
166 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
167 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
168 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
169 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
170 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
171 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
172 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
173 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
174 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
175 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
176 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
177 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
178 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
179 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
180 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
181 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
182 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
183 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
184 MEDIA_CONTENT_GROUP_RATING = 20, /**< Media group ID for a rating*/
185 MEDIA_CONTENT_GROUP_MAX = 29 /**< Invalid media group ID*/
189 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
190 * @brief The structure type for the Media info handle.
191 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
193 typedef struct media_info_s *media_info_h;
196 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
197 * @brief The structure type for the Media folder handle.
198 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
200 typedef struct media_folder_s *media_folder_h;
203 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
204 * @brief The structure type for the Media playlist handle.
205 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
207 typedef struct media_playlist_s *media_playlist_h;
210 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
211 * @brief The structure type for the Media tag handle.
212 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
214 typedef struct media_tag_s *media_tag_h;
217 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
218 * @brief The structure type for the Media bookmark handle.
219 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
221 typedef struct media_bookmark_s *media_bookmark_h;
224 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
225 * @brief The structure type for the Media album handle.
226 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
228 typedef struct media_album_s *media_album_h;
231 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_META_MODULE
232 * @brief The structure type for the Image metadata handle.
233 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
235 typedef struct image_meta_s *image_meta_h;
238 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
239 * @brief The structure type for the Video metadata handle.
240 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
242 typedef struct video_meta_s *video_meta_h;
245 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
246 * @brief The structure type for the Audio metadata handle.
247 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
249 typedef struct audio_meta_s *audio_meta_h;
252 * @ingroup CAPI_CONTENT_MEDIA_BOOK_META_MODULE
253 * @brief The structure type for the Book metadata handle.
256 typedef struct book_meta_s *book_meta_h;
259 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
260 * @brief The structure type for the Media filter handle.
261 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
263 typedef struct filter_s *filter_h;
266 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
267 * @deprecated Deprecated since 5.0.
268 * @brief The structure type for the Media storage handle.
269 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
271 typedef void *media_storage_h;
274 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
275 * @brief The structure type for the Media face handle.
278 typedef void *media_face_h;
281 * @ingroup CAPI_MEDIA_CONTENT_MODULE
282 * @brief The structure type for the Media content noti handle.
285 typedef void *media_content_noti_h;
288 * @ingroup CAPI_MEDIA_CONTENT_MODULE
289 * @brief Called when the media scanning is finished.
290 * @details The following error codes can be received: \n
291 * #MEDIA_CONTENT_ERROR_NONE : Success \n
292 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
293 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
294 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
295 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
296 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
297 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
298 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
299 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
300 * @remarks The callback is called in a separate thread(not in the main loop).
302 * @param[in] error The error code
303 * @param[in] user_data The user data passed from the foreach function
305 * @pre media_content_scan_folder().
306 * @see media_content_scan_folder()
308 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
311 * @ingroup CAPI_MEDIA_CONTENT_MODULE
312 * @brief Called when the notification of the media DB change is subscribed.
313 * @details The following error codes can be received: \n
314 * #MEDIA_CONTENT_ERROR_NONE : Success \n
315 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
317 * @remarks The callback is called in a separate thread(not in the main loop).
319 * @param[in] error The error code
320 * @param[in] pid The PID which publishes notification
321 * @param[in] update_item The update item of notification
322 * @param[in] update_type The update type of notification
323 * @param[in] media_type The type of the media content (#media_content_type_e)
324 * @param[in] uuid The UUID of media or directory, which is updated
325 * @param[in] path The path of the media or directory
326 * @param[in] mime_type The MIME of the media info
327 * @param[in] user_data The user data passed from the foreach function
329 * @pre media_content_add_db_updated_cb().
330 * @see media_content_add_db_updated_cb()
332 typedef void (*media_content_db_update_cb)(
333 media_content_error_e error,
335 media_content_db_update_item_type_e update_item,
336 media_content_db_update_type_e update_type,
337 media_content_type_e media_type,
345 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
346 * @brief Called for every available media info.
347 * @details Iterates over a list of media info.
348 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
350 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
351 * The callback is called in the main loop.
353 * @param[in] media The handle to the media info
354 * @param[in] user_data The user data passed from the foreach function
356 * @return @c true to continue with the next iteration of the loop,
357 * otherwise @c false to break out of the loop
359 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
360 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
362 * @see media_info_clone()
363 * @see media_album_foreach_media_from_db()
364 * @see media_playlist_foreach_media_from_db()
365 * @see media_tag_foreach_media_from_db()
366 * @see media_info_foreach_media_from_db()
367 * @see media_folder_foreach_media_from_db()
369 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
373 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
374 * @brief Called when media items are inserted completely.
375 * @details The following error codes can be received: \n
376 * #MEDIA_CONTENT_ERROR_NONE : Success \n
377 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
378 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
379 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
380 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
381 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
382 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
383 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
384 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
385 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
387 * @remarks The callback is called in a separate thread(not in the main loop).
389 * @param[in] error The error code
390 * @param[in] user_data The user data passed from the foreach function
392 * @pre media_info_insert_batch_to_db()
393 * @see media_info_insert_batch_to_db()
395 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
399 * @deprecated Deprecated since 5.0.
400 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
401 * @brief Called when creating a thumbnail image.
402 * @details This callback is called for completion of generating the thumbnail image.
403 * The following error codes can be delivered. \n
404 * #MEDIA_CONTENT_ERROR_NONE, \n
405 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
406 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
407 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
408 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
409 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
410 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
412 * @remarks The callback is called in a separate thread(not in the main loop).
414 * @param[in] error The error code
415 * @param[in] path The path of the thumbnail which is generated
416 * @param[in] user_data The user data passed from the foreach function
418 * @pre media_info_create_thumbnail()
419 * @see media_info_create_thumbnail()
421 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
424 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
425 * @brief Called when face detection on the image is completed.
427 * @details The following error codes can be delivered. \n
428 * #MEDIA_CONTENT_ERROR_NONE, \n
429 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
430 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
431 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
432 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
433 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
437 * @remarks The callback is called in a separate thread(not in the main loop).
439 * @param[in] error The error code
440 * @param[in] face_count The number of all detected faces
441 * @param[in] user_data The user data passed from the foreach function
443 * @pre media_info_start_face_detection()
444 * @see media_info_start_face_detection()
446 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
450 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
451 * @brief Called for every available media folder.
452 * @details Iterates over a list of folders.
454 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
456 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
457 * The callback is called in the main loop.
459 * @param[in] folder The handle to the media folder
460 * @param[in] user_data The user data passed from the foreach function
462 * @return @c true to continue with the next iteration of the loop,
463 * otherwise @c false to break out of the loop
465 * @pre media_folder_foreach_folder_from_db() will invoke this function.
466 * @see media_folder_clone()
467 * @see media_folder_foreach_folder_from_db()
469 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
472 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
473 * @brief Called for every playlist in the obtained list of playlists.
474 * @details Iterates over a playlist list.
476 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
478 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
479 * The callback is called in the main loop.
481 * @param[in] playlist The handle to the media playlist
482 * @param[in] user_data The user data passed from the foreach function
484 * @return @c true to continue with the next iteration of the loop,
485 * otherwise @c false to break out of the loop
487 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
489 * @see media_playlist_clone()
490 * @see media_playlist_foreach_playlist_from_db()
492 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
495 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
496 * @brief Called for every media info with playlist member ID in the obtained list of media info.
497 * @details Iterates over playlist members.
499 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
501 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
502 * The callback is called in the main loop.
504 * @param[in] playlist_member_id The ID of the playlist member
505 * @param[in] media The handle to the media info
506 * @param[in] user_data The user data passed from the foreach function
508 * @return @c true to continue with the next iteration of the loop,
509 * otherwise @c false to break out of the loop
511 * @pre media_playlist_foreach_media_from_db() will invoke this function.
513 * @see media_info_clone()
514 * @see media_playlist_foreach_media_from_db()
516 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
519 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
520 * @brief Called for every tag in the obtained list of tags.
521 * @details Iterates over a list of tags.
523 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
525 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
526 * The callback is called in the main loop.
528 * @param[in] tag The handle to the media tag
529 * @param[in] user_data The user data passed from the foreach function
531 * @return @c true to continue with the next iteration of the loop,
532 * otherwise @c false to break out of the loop
534 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
536 * @see media_tag_clone()
537 * @see media_tag_foreach_tag_from_db()
538 * @see media_info_foreach_tag_from_db()
540 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
543 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
544 * @brief Called for every bookmark in the obtained list of bookmarks.
545 * @details Iterates over a bookmark list.
547 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
549 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
550 * The callback is called in the main loop.
552 * @param[in] bookmark The handle to the media bookmark
553 * @param[in] user_data The user data passed from the foreach function
555 * @return @c true to continue with the next iteration of the loop,
556 * otherwise @c false to break out of the loop
558 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
559 * @see media_info_foreach_bookmark_from_db()
561 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
564 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
565 * @brief Called for every album in the obtained list of groups.
566 * @details Iterates over an album list.
568 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
570 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
571 * The callback is called in the main loop.
573 * @param[in] album The handle to the media album
574 * @param[in] user_data The user data passed from the foreach function
576 * @return @c true to continue with the next iteration of the loop,
577 * otherwise @c false to break out of the loop
579 * @pre media_album_foreach_album_from_db() will invoke this function.
581 * @see media_album_clone()
582 * @see media_album_foreach_album_from_db()
584 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
587 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
588 * @brief Called for every group in the obtained list of groups.
589 * @details Iterates over a media group list.
591 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
593 * @remarks You should not free @a group_name returned by this function. \n
594 * The callback is called in the main loop.
596 * @param[in] group_name The name of the media group
597 * @param[in] user_data The user data passed from the foreach function
599 * @return @c true to continue with the next iteration of the loop,
600 * otherwise @c false to break out of the loop
602 * @pre media_group_foreach_group_from_db() will invoke this function.
603 * @see media_group_foreach_group_from_db()
605 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
608 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
609 * @deprecated Deprecated since 5.0.
610 * @brief Called for every storage in the obtained list of storages.
611 * @details Iterates over a media storage list.
613 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
615 * @remarks You should not destroy @a storage returned by this function. \n
616 * The callback is called in the main loop.
618 * @param[in] storage The handle of the media storage
619 * @param[in] user_data The user data passed from the foreach function
621 * @return @c true to continue with the next iteration of the loop,
622 * otherwise @c false to break out of the loop
624 * @pre media_storage_foreach_storage_from_db() will invoke this function.
625 * @see media_storage_foreach_storage_from_db()
627 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
630 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
631 * @brief Called for every face in the obtained list of face.
632 * @details Iterates over a media face list.
636 * @remarks You should not destroy @a face returned by this function. \n
637 * The callback is called in the main loop.
639 * @param[in] face The handle of the media face
640 * @param[in] user_data The user data passed from the foreach function
642 * @return @c true to continue with the next iteration of the loop,
643 * otherwise @c false to break out of the loop
645 * @pre media_info_foreach_face_from_db() will invoke this function.
646 * @see media_info_foreach_face_from_db()
648 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
655 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
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_ID "MEDIA_ID"
668 * @brief Media full path.
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_PATH "MEDIA_PATH"
676 * @brief The file name including the extension.
677 * @details You can use above define to set the condition of media filter and order keyword.
678 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
681 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
685 * @details There are 5 media types:\n
686 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
687 * 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_TYPE "MEDIA_TYPE"
694 * @brief Media MIME type.
695 * @details You can use above define to set the condition of media filter and order keyword.
696 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
699 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
703 * @brief Media file size.
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_SIZE "MEDIA_SIZE"
711 * @brief The time that content file was first added to media database.
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_ADDED_TIME "MEDIA_ADDED_TIME"
719 * @brief The last modification time provided by the file system.
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_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
727 * @brief Media created time.
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_TIMELINE "MEDIA_TIMELINE"
735 * @brief Media thumbnail path.
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_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
743 * @brief Media title get from tag or file 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_TITLE "MEDIA_TITLE"
751 * @brief Media album name.
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_ALBUM "MEDIA_ALBUM"
759 * @brief Media 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_ARTIST "MEDIA_ARTIST"
767 * @brief Media album artist.
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_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
775 * @brief Media genre.
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_GENRE "MEDIA_GENRE"
783 * @brief 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_COMPOSER "MEDIA_COMPOSER"
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_YEAR "MEDIA_YEAR"
799 * @brief Media recorded date.
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_RECORDED_DATE "MEDIA_RECORDED_DATE"
807 * @deprecated Deprecated since 5.5.
808 * @brief Media copyright.
809 * @details You can use above define to set the condition of media filter and order keyword.
810 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
813 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
816 * @brief Media track number.
817 * @details You can use above define to set the condition of media filter and order keyword.
818 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
821 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
824 * @deprecated Deprecated since 5.5.
825 * @brief Media description.
826 * @details 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_DESCRIPTION "MEDIA_DESCRIPTION"
833 * @deprecated Deprecated since 5.5.
834 * @brief Media bitrate.
835 * @details You can use above define to set the condition of media filter and order keyword.
836 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
839 #define MEDIA_BITRATE "MEDIA_BITRATE"
842 * @deprecated Deprecated since 5.5.
843 * @brief Media bit per sample.
844 * @details You can use above define to set the condition of media filter and order keyword.
845 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
848 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
851 * @deprecated Deprecated since 5.5.
852 * @brief Media sample rate.
853 * @details You can use above define to set the condition of media filter and order keyword.
854 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
857 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
860 * @deprecated Deprecated since 5.5.
861 * @brief Media channel.
862 * @details You can use above define to set the condition of media filter and order keyword.
863 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
866 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
869 * @brief Media duration.
870 * @details You can use above define to set the condition of media filter and order keyword.
871 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
874 #define MEDIA_DURATION "MEDIA_DURATION"
877 * @brief Media longitude.
878 * @details You can use above define to set the condition of media filter and order keyword.
879 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
882 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
885 * @brief Media latitude.
886 * @details You can use above define to set the condition of media filter and order keyword.
887 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
890 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
893 * @brief Media altitude.
894 * @details You can use above define to set the condition of media filter and order keyword.
895 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
898 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
901 * @brief Media width.
902 * @details You can use above define to set the condition of media filter and order keyword.
903 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
906 #define MEDIA_WIDTH "MEDIA_WIDTH"
909 * @brief Media height.
910 * @details 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_HEIGHT "MEDIA_HEIGHT"
917 * @brief Media datetaken.
918 * @details You can use above define to set the condition of media filter and order keyword.
919 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
922 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
925 * @deprecated Deprecated since 5.5.
926 * @brief Media orientation.
927 * @details You can use above define to set the condition of media filter and order keyword.
928 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
931 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
934 * @deprecated Deprecated since 5.5.
935 * @brief Media rating.
936 * @details You can use above define to set the condition of media filter and order keyword.
937 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
940 #define MEDIA_RATING "MEDIA_RATING"
943 * @brief The time to register favourite.
944 * @details You can use above define to set the condition of media filter and order keyword.
945 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
948 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
952 * @details There are 2 types:\n
954 * You can use above define to set the condition of media filter and order keyword.
955 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
958 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
961 * @deprecated Deprecated since 5.0.
962 * @brief Media storage.
963 * @details There are 3 types:\n
964 * 0-internal storage, 1-SD card, 2-USB storage\n
965 * You can use above define to set the condition of media filter and order keyword.
966 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
969 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
972 * @deprecated Deprecated since 5.5.
973 * @brief Media exposure time.
974 * @details You can use above define to set the condition of media filter and order keyword.
975 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
978 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
981 * @deprecated Deprecated since 5.5.
982 * @brief Media fnumber.
983 * @details You can use above define to set the condition of media filter and order keyword.
984 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
987 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
990 * @deprecated Deprecated since 5.5.
992 * @details You can use above define to set the condition of media filter and order keyword.
993 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
996 #define MEDIA_ISO "MEDIA_ISO"
999 * @deprecated Deprecated since 5.5.
1000 * @brief Media model.
1001 * @details 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"
1008 * @brief Media file name pinyin.
1009 * @details You can use above define to set the condition of media filter and order keyword.
1010 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1011 * @remarks Since 4.0, this keyword is related to the following feature:\n
1012 * - %http://tizen.org/feature/content.filter.pinyin\n
1013 * If this feature is not supported on the device, PINYIN search does not work.
1016 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1019 * @brief Media title pinyin.
1020 * @details You can use above define to set the condition of media filter and order keyword.
1021 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1022 * @remarks Since 4.0, this keyword is related to the following feature:\n
1023 * - %http://tizen.org/feature/content.filter.pinyin\n
1024 * If this feature is not supported on the device, PINYIN search does not work.
1027 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1030 * @brief Media album pinyin.
1031 * @details You can use above define to set the condition of media filter and order keyword.
1032 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1033 * @remarks Since 4.0, this keyword is related to the following feature:\n
1034 * - %http://tizen.org/feature/content.filter.pinyin\n
1035 * If this feature is not supported on the device, PINYIN search does not work.
1038 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1041 * @brief Media artist pinyin.
1042 * @details You can use above define to set the condition of media filter and order keyword.
1043 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1044 * @remarks Since 4.0, this keyword is related to the following feature:\n
1045 * - %http://tizen.org/feature/content.filter.pinyin\n
1046 * If this feature is not supported on the device, PINYIN search does not work.
1049 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1052 * @brief Media album artist pinyin.
1053 * @details You can use above define to set the condition of media filter and order keyword.
1054 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1055 * @remarks Since 4.0, this keyword is related to the following feature:\n
1056 * - %http://tizen.org/feature/content.filter.pinyin\n
1057 * If this feature is not supported on the device, PINYIN search does not work.
1060 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1063 * @brief Media genre pinyin.
1064 * @details 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
1066 * @remarks Since 4.0, this keyword is related to the following feature:\n
1067 * - %http://tizen.org/feature/content.filter.pinyin\n
1068 * If this feature is not supported on the device, PINYIN search does not work.
1071 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1074 * @brief Media composer pinyin.
1075 * @details You can use above define to set the condition of media filter and order keyword.
1076 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1077 * @remarks Since 4.0, this keyword is related to the following feature:\n
1078 * - %http://tizen.org/feature/content.filter.pinyin\n
1079 * If this feature is not supported on the device, PINYIN search does not work.
1082 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1085 * @deprecated Deprecated since 5.5.
1086 * @brief Media copyright pinyin.
1087 * @details You can use above define to set the condition of media filter and order keyword.
1088 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1089 * @remarks Since 4.0, this keyword is related to the following feature:\n
1090 * - %http://tizen.org/feature/content.filter.pinyin\n
1091 * If this feature is not supported on the device, PINYIN search does not work.
1094 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1097 * @deprecated Deprecated since 5.5.
1098 * @brief Media description pinyin.
1099 * @details 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
1101 * @remarks Since 4.0, this keyword is related to the following feature:\n
1102 * - %http://tizen.org/feature/content.filter.pinyin\n
1103 * If this feature is not supported on the device, PINYIN search does not work.
1106 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1109 * @brief Virtual Reality content.
1110 * @details You can use above define to set the condition of media filter and order keyword.
1114 #define MEDIA_360 "MEDIA_360"
1118 * @details You can use above define to set the condition of folder filter and order keyword.
1119 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1121 #define FOLDER_ID "FOLDER_ID"
1124 * @brief Folder full path.
1125 * @details You can use above define to set the condition of folder filter and order keyword.
1126 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1128 #define FOLDER_PATH "FOLDER_PATH"
1131 * @brief Folder base name.
1132 * @details You can use above define to set the condition of folder filter and order keyword.
1133 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1135 #define FOLDER_NAME "FOLDER_NAME"
1138 * @deprecated Deprecated since 5.0.
1139 * @brief Folder storage.
1140 * @details There are 2 types:\n
1141 * 0-internal storage, 1-external storage\n
1142 * You can use above define to set the condition of folder filter and order keyword.
1143 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1145 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1148 * @brief Folder base name pinyin.
1149 * @details 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
1151 * @remarks Since 4.0, this keyword is related to the following feature:\n
1152 * - %http://tizen.org/feature/content.filter.pinyin\n
1153 * If this feature is not supported on the device, PINYIN search does not work.
1155 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1158 * @brief Playlist name.
1159 * @details You can use above define to set the condition of playlist filter and order keyword.
1160 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1162 #define PLAYLIST_NAME "PLAYLIST_NAME"
1165 * @brief Playlist id.
1166 * @details You can use above define to set the condition of playlist filter and order keyword.
1169 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1172 * @brief Playlist member order.
1173 * @details You can use above define to set the condition of playlist filter and order keyword.
1174 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1176 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1179 * @brief Media count in playlist.
1180 * @details You can use above define to set the condition of playlist filter and order keyword.
1181 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1183 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1187 * @details You can use above define to set the condition of tag filter and order keyword.
1188 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1190 #define TAG_NAME "TAG_NAME"
1194 * @details You can use above define to set the condition of tag filter and order keyword.
1197 #define MEDIA_TAG_ID "TAG_ID"
1200 * @brief Media count in tag.
1201 * @details You can use above define to set the condition of tag filter and order keyword.
1202 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1204 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1207 * @brief Bookmark marked time.
1208 * @details You can use above define to set the condition of bookmark filter and order keyword.
1209 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1211 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1214 * @brief Bookmark id.
1215 * @details You can use above define to set the condition of bookmark filter and order keyword.
1218 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1221 * @brief Bookmark name.
1222 * @details You can use above define to set the condition of bookmark filter and order keyword.
1225 #define BOOKMARK_NAME "BOOKMARK_NAME"
1228 * @deprecated Deprecated since 5.0.
1229 * @brief Storage ID.
1230 * @details You can use above define to set the condition of storage filter and order keyword.
1231 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1233 #define MEDIA_STORAGE_ID "STORAGE_ID"
1236 * @deprecated Deprecated since 5.0.
1237 * @brief Storage path.
1238 * @details You can use above define to set the condition of storage filter and order keyword.
1239 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1241 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1245 * @details You can use above define to set the condition of face filter and order keyword.
1248 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1252 * @details You can use above define to set the condition of face filter and order keyword.
1255 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1264 #endif /* __cplusplus */
1267 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/