2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 * @file media_content_type.h
30 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
31 * classes of errors and definitions of media-data. \n
32 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
33 * when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
37 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
42 * @ingroup CAPI_MEDIA_CONTENT_MODULE
43 * @brief Enumeration for the media file format.
44 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
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 suppported 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 * @brief Enumeration for the storage type.
60 * @details This information is used to establish where the folder is.
61 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
64 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
65 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
66 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
67 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
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;
131 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
134 * @ingroup CAPI_MEDIA_CONTENT_MODULE
135 * @brief Enumeration for a media content error.
136 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
139 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
140 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
141 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
142 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
143 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
144 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
145 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
146 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
147 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
148 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
149 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
150 } media_content_error_e;
153 * @ingroup CAPI_MEDIA_CONTENT_MODULE
154 * @brief Enumeration for a media group.
155 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
158 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
159 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
160 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
161 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
162 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
163 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
164 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
165 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
166 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
167 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
168 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
169 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
170 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
171 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
172 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
173 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
174 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
175 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
176 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
177 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot (Deprecated since 4.0)*/
178 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
179 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author (Deprecated since 4.0)*/
180 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider (Deprecated since 4.0)*/
181 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
182 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category (Deprecated since 4.0)*/
183 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag (Deprecated since 4.0)*/
184 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating (Deprecated since 4.0)*/
185 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
186 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather (Deprecated since 4.0)*/
187 MEDIA_CONTENT_GROUP_MAX /**< Invalid media group ID*/
191 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
192 * @brief The structure type for the Media info handle.
193 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
195 typedef struct media_info_s *media_info_h;
198 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
199 * @brief The structure type for the Media folder handle.
200 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
202 typedef struct media_folder_s *media_folder_h;
205 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
206 * @brief The structure type for the Media playlist handle.
207 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
209 typedef struct media_playlist_s *media_playlist_h;
212 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
213 * @brief The structure type for the Media tag handle.
214 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
216 typedef struct media_tag_s *media_tag_h;
219 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
220 * @brief The structure type for the Media bookmark handle.
221 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
223 typedef struct media_bookmark_s *media_bookmark_h;
226 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
227 * @brief The structure type for the Media album handle.
228 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
230 typedef struct media_album_s *media_album_h;
233 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
234 * @brief The structure type for the Image metadata handle.
235 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
237 typedef struct image_meta_s *image_meta_h;
240 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
241 * @brief The structure type for the Video metadata handle.
242 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
244 typedef struct video_meta_s *video_meta_h;
247 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
248 * @brief The structure type for the Audio metadata handle.
249 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
251 typedef struct audio_meta_s *audio_meta_h;
254 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
255 * @brief The structure type for the Media filter handle.
256 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
258 typedef struct filter_s *filter_h;
261 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
262 * @brief The structure type for the Media storage handle.
263 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
265 typedef void *media_storage_h;
268 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
269 * @brief The structure type for the Media face handle.
272 typedef void *media_face_h;
275 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
276 * @brief The structure type for the Media content noti handle.
279 typedef void *media_content_noti_h;
282 * @ingroup CAPI_MEDIA_CONTENT_MODULE
283 * @brief Called when the media scanning is finished.
284 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
285 * @remarks The callback is called in a separate thread(not in the main loop).
287 * @param[in] error The error code
288 * @param[in] user_data The user data passed from the foreach function
290 * @pre media_content_scan_folder().
291 * @see media_content_scan_folder()
293 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
296 * @ingroup CAPI_MEDIA_CONTENT_MODULE
297 * @brief Called when the notification of the media DB change is subscribed.
298 * @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] pid The PID which publishes notification
304 * @param[in] update_item The update item of notification
305 * @param[in] update_type The update type of notification
306 * @param[in] media_type The type of the media content (#media_content_type_e)
307 * @param[in] uuid The UUID of media or directory, which is updated
308 * @param[in] path The path of the media or directory
309 * @param[in] mime_type The mime type of the media info
310 * @param[in] user_data The user data passed from the foreach function
312 * @pre media_content_add_db_updated_cb().
313 * @see media_content_add_db_updated_cb()
315 typedef void (*media_content_db_update_cb)(
316 media_content_error_e error,
318 media_content_db_update_item_type_e update_item,
319 media_content_db_update_type_e update_type,
320 media_content_type_e media_type,
328 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
329 * @brief Called for every available media info.
330 * @details Iterates over a list of media info.
331 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
333 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
334 * The callback is called in the main loop.
336 * @param[in] media The handle to the media info
337 * @param[in] user_data The user data passed from the foreach function
339 * @return @c true to continue with the next iteration of the loop,
340 * otherwise @c false to break out of the loop
342 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
343 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
345 * @see media_info_clone()
346 * @see media_album_foreach_media_from_db()
347 * @see media_playlist_foreach_media_from_db()
348 * @see media_tag_foreach_media_from_db()
349 * @see media_info_foreach_media_from_db()
350 * @see media_folder_foreach_media_from_db()
352 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
356 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
357 * @brief Called when media items are inserted completely.
358 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
360 * @remarks The callback is called in a separate thread(not in the main loop).
362 * @param[in] media The handle to the media info
363 * @param[in] user_data The user data passed from the foreach function
365 * @pre media_info_insert_batch_to_db()
366 * @see media_info_insert_batch_to_db()
368 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
372 * @deprecated Deprecated since 4.0.
373 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
374 * @brief Called when the burst shot is inserted completely.
375 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
377 * @remarks The callback is called in a separate thread(not in the main loop).
379 * @param[in] media The handle to the media info
380 * @param[in] user_data The user data passed from the foreach function
382 * @pre media_info_insert_burst_shot_to_db()
383 * @see media_info_insert_burst_shot_to_db()
386 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
390 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
391 * @brief Called when creating a thumbnail image.
392 * @details This callback is called for completion of generating the thumbnail image.
393 * The following error codes can be delivered. \n
394 * #MEDIA_CONTENT_ERROR_NONE, \n
395 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
396 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
397 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
398 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
399 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
400 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
402 * @remarks The callback is called in a separate thread(not in the main loop).
404 * @param[in] error The error code
405 * @param[in] path The path of the thumbnail which is generated
406 * @param[in] user_data The user data passed from the foreach function
408 * @pre media_info_create_thumbnail()
409 * @see media_info_create_thumbnail()
411 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
414 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
415 * @brief Called when face detection on the image is completed.
417 * @details The following error codes can be delivered. \n
418 * #MEDIA_CONTENT_ERROR_NONE, \n
419 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
420 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
421 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
422 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
423 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
427 * @remarks The callback is called in a separate thread(not in the main loop).
429 * @param[in] error The error code
430 * @param[in] face_count The number of all detected faces
431 * @param[in] user_data The user data passed from the foreach function
433 * @pre media_info_start_face_detection()
434 * @see media_info_start_face_detection()
436 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
440 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
441 * @brief Called for every available media folder.
442 * @details Iterates over a list of folders.
444 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
446 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
447 * The callback is called in the main loop.
449 * @param[in] folder The handle to the media folder
450 * @param[in] user_data The user data passed from the foreach function
452 * @return @c true to continue with the next iteration of the loop,
453 * otherwise @c false to break out of the loop
455 * @pre media_folder_foreach_folder_from_db() will invoke this function.
456 * @see media_folder_clone()
457 * @see media_folder_foreach_folder_from_db()
459 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
462 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
463 * @brief Called for every playlist in the obtained list of playlists.
464 * @details Iterates over a playlist list.
466 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
468 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
469 * The callback is called in the main loop.
471 * @param[in] playlist The handle to the media playlist
472 * @param[in] user_data The user data passed from the foreach function
474 * @return @c true to continue with the next iteration of the loop,
475 * otherwise @c false to break out of the loop
477 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
479 * @see media_playlist_clone()
480 * @see media_playlist_foreach_playlist_from_db()
482 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
485 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
486 * @brief Called for every media info with playlist member ID in the obtained list of media info.
487 * @details Iterates over playlist members.
489 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
491 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
492 * The callback is called in the main loop.
494 * @param[in] playlist_member_id The ID to member of the playlist
495 * @param[in] media The handle to the media info
496 * @param[in] user_data The user data passed from the foreach function
498 * @return @c true to continue with the next iteration of the loop,
499 * otherwise @c false to break out of the loop
501 * @pre media_playlist_foreach_media_from_db() will invoke this function.
503 * @see media_info_clone()
504 * @see media_playlist_foreach_media_from_db()
506 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
509 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
510 * @brief Called for every tag in the obtained list of tags.
511 * @details Iterates over a list of tags.
513 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
515 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
516 * The callback is called in the main loop.
518 * @param[in] tag The handle to the media tag
519 * @param[in] user_data The user data passed from the foreach function
521 * @return @c true to continue with the next iteration of the loop,
522 * otherwise @c false to break out of the loop
524 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
526 * @see media_tag_clone()
527 * @see media_tag_foreach_tag_from_db()
528 * @see media_info_foreach_tag_from_db()
530 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
533 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
534 * @brief Called for every bookmark in the obtained list of bookmarks.
535 * @details Iterates over a bookmark list.
537 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
539 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
540 * The callback is called in the main loop.
542 * @param[in] bookmark The handle to the video bookmark
543 * @param[in] user_data The user data passed from the foreach function
545 * @return @c true to continue with the next iteration of the loop,
546 * otherwise @c false to break out of the loop
548 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
549 * @see media_info_foreach_bookmark_from_db()
551 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
554 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
555 * @brief Called for every album in the obtained list of groups.
556 * @details Iterates over an album list.
558 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
560 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
561 * The callback is called in the main loop.
563 * @param[in] album The handle to the media album
564 * @param[in] user_data The user data passed from the foreach function
566 * @return @c true to continue with the next iteration of the loop,
567 * otherwise @c false to break out of the loop
569 * @pre media_album_foreach_album_from_db() will invoke this function.
571 * @see media_album_clone()
572 * @see media_album_foreach_album_from_db()
574 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
577 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
578 * @brief Called for every group in the obtained list of groups.
579 * @details Iterates over a media group list.
581 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
583 * @remarks You should not free @a group_name returned by this function. \n
584 * The callback is called in the main loop.
586 * @param[in] group_name The name of the media group
587 * @param[in] user_data The user data passed from the foreach function
589 * @return @c true to continue with the next iteration of the loop,
590 * otherwise @c false to break out of the loop
592 * @pre media_group_foreach_group_from_db() will invoke this function.
593 * @see media_group_foreach_group_from_db()
595 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
598 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
599 * @brief Called for every storage in the obtained list of storages.
600 * @details Iterates over a media storage list.
602 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
604 * @remarks You should not destroy @a storage returned by this function. \n
605 * The callback is called in the main loop.
607 * @param[in] storage The handle of the media storage
608 * @param[in] user_data The user data passed from the foreach function
610 * @return @c true to continue with the next iteration of the loop,
611 * otherwise @c false to break out of the loop
613 * @pre media_storage_foreach_storage_from_db() will invoke this function.
614 * @see media_storage_foreach_storage_from_db()
616 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
619 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
620 * @brief Called for every face in the obtained list of face.
621 * @details Iterates over a media face list.
625 * @remarks You should not destroy @a face returned by this function. \n
626 * The callback is called in the main loop.
628 * @param[in] face The handle of the media face
629 * @param[in] user_data The user data passed from the foreach function
631 * @return @c true to continue with the next iteration of the loop,
632 * otherwise @c false to break out of the loop
634 * @pre media_info_foreach_face_from_db() will invoke this function.
635 * @see media_info_foreach_face_from_db()
637 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
644 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
650 * @details 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_ID "MEDIA_ID"
657 * @brief Media full path
658 * @details You can use above define to set the condition of media filter and order keyword.
659 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
662 #define MEDIA_PATH "MEDIA_PATH"
665 * @brief The file name including the extension
666 * @details You can use above define to set the condition of media filter and order keyword.
667 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
670 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
674 * @details There are 5 media types:\n
675 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
676 * You can use above define to set the condition of media filter and order keyword.
677 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
680 #define MEDIA_TYPE "MEDIA_TYPE"
683 * @brief Media MIME type
684 * @details You can use above define to set the condition of media filter and order keyword.
685 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
688 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
692 * @brief Media file size
693 * @details You can use above define to set the condition of media filter and order keyword.
694 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
697 #define MEDIA_SIZE "MEDIA_SIZE"
700 * @brief The time that content file was first added to media database
701 * @details You can use above define to set the condition of media filter and order keyword.
702 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
705 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
708 * @brief The last modification time provided by the file system
709 * @details You can use above define to set the condition of media filter and order keyword.
710 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
713 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
716 * @brief Media created time
717 * @details You can use above define to set the condition of media filter and order keyword.
718 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
721 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
724 * @brief Media thumbnail path
725 * @details You can use above define to set the condition of media filter and order keyword.
726 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
729 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
732 * @brief Media title get from tag or file name
733 * @details You can use above define to set the condition of media filter and order keyword.
734 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
737 #define MEDIA_TITLE "MEDIA_TITLE"
740 * @brief Media album name
741 * @details You can use above define to set the condition of media filter and order keyword.
742 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
745 #define MEDIA_ALBUM "MEDIA_ALBUM"
748 * @brief Media artist
749 * @details 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_ARTIST "MEDIA_ARTIST"
756 * @brief Media album artist
757 * @details You can use above define to set the condition of media filter and order keyword.
758 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
761 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
765 * @details You can use above define to set the condition of media filter and order keyword.
766 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
769 #define MEDIA_GENRE "MEDIA_GENRE"
772 * @brief Media composer
773 * @details You can use above define to set the condition of media filter and order keyword.
774 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
777 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
781 * @details You can use above define to set the condition of media filter and order keyword.
782 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
785 #define MEDIA_YEAR "MEDIA_YEAR"
788 * @brief Media recorded date
789 * @details You can use above define to set the condition of media filter and order keyword.
790 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
793 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
796 * @brief Media copyright
797 * @details You can use above define to set the condition of media filter and order keyword.
798 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
801 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
804 * @brief Media track number
805 * @details 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_TRACK_NUM "MEDIA_TRACK_NUM"
812 * @brief Media description
813 * @details You can use above define to set the condition of media filter and order keyword.
814 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
817 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
820 * @brief Media bitrate
821 * @details You can use above define to set the condition of media filter and order keyword.
822 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
825 #define MEDIA_BITRATE "MEDIA_BITRATE"
828 * @brief Media bit per sample
829 * @details You can use above define to set the condition of media filter and order keyword.
830 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
833 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
836 * @brief Media sample rate
837 * @details You can use above define to set the condition of media filter and order keyword.
838 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
841 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
844 * @brief Media channel
845 * @details You can use above define to set the condition of media filter and order keyword.
846 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
849 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
852 * @brief Media duration
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_DURATION "MEDIA_DURATION"
860 * @brief Media longitude
861 * @details 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_LONGITUDE "MEDIA_LONGITUDE"
868 * @brief Media latitude
869 * @details You can use above define to set the condition of media filter and order keyword.
870 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
873 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
876 * @brief Media altitude
877 * @details You can use above define to set the condition of media filter and order keyword.
878 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
881 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
885 * @details You can use above define to set the condition of media filter and order keyword.
886 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
889 #define MEDIA_WIDTH "MEDIA_WIDTH"
892 * @brief Media height
893 * @details You can use above define to set the condition of media filter and order keyword.
894 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
897 #define MEDIA_HEIGHT "MEDIA_HEIGHT"
900 * @brief Media datetaken
901 * @details You can use above define to set the condition of media filter and order keyword.
902 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
905 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
908 * @brief Media orientation
909 * @details You can use above define to set the condition of media filter and order keyword.
910 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
913 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
916 * @deprecated Deprecated since 4.0.
917 * @brief Media burst ID
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_BURST_ID "BURST_ID"
925 * @deprecated Deprecated since 4.0.
926 * @brief Media playedcount
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_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
934 * @deprecated Deprecated since 4.0.
935 * @brief Media last played time
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_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
943 * @deprecated Deprecated since 4.0.
944 * @brief Media last played position of file
945 * @details 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_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
952 * @brief Media rating
953 * @details You can use above define to set the condition of media filter and order keyword.
954 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
957 #define MEDIA_RATING "MEDIA_RATING"
960 * @brief The time to register favourite
961 * @details You can use above define to set the condition of media filter and order keyword.
962 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
965 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
968 * @deprecated Deprecated since 4.0.
969 * @brief Media author
970 * @details You can use above define to set the condition of media filter and order keyword.
971 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
974 #define MEDIA_AUTHOR "MEDIA_AUTHOR"
977 * @deprecated Deprecated since 4.0.
978 * @brief Media provider
979 * @details You can use above define to set the condition of media filter and order keyword.
980 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
983 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
986 * @deprecated Deprecated since 4.0.
987 * @brief Media content name
988 * @details You can use above define to set the condition of media filter and order keyword.
989 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
992 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
995 * @deprecated Deprecated since 4.0.
996 * @brief Media category
997 * @details You can use above define to set the condition of media filter and order keyword.
998 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1001 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1004 * @deprecated Deprecated since 4.0.
1005 * @brief Media location tag
1006 * @details You can use above define to set the condition of media filter and order keyword.
1007 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1010 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1013 * @deprecated Deprecated since 4.0.
1014 * @brief Media age rating
1015 * @details You can use above define to set the condition of media filter and order keyword.
1016 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1019 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1022 * @deprecated Deprecated since 4.0.
1023 * @brief Media keyword
1024 * @details You can use above define to set the condition of media filter and order keyword.
1025 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1028 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1031 * @deprecated Deprecated since 4.0.
1032 * @brief Media weather
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
1037 #define MEDIA_WEATHER "MEDIA_WEATHER"
1041 * @details There are 2 types:\n
1042 * 0-not drm, 1-drm\n
1043 * 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_IS_DRM "MEDIA_IS_DRM"
1050 * @brief Media storage
1051 * @details There are 2 types:\n
1052 * 0-internal storage, 1-external storage\n
1053 * 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
1057 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1060 * @brief Media exposure time
1061 * @details You can use above define to set the condition of media filter and order keyword.
1062 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1065 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1068 * @brief Media fnumber
1069 * @details You can use above define to set the condition of media filter and order keyword.
1070 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1073 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1077 * @details You can use above define to set the condition of media filter and order keyword.
1078 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1081 #define MEDIA_ISO "MEDIA_ISO"
1084 * @brief Media model
1085 * @details You can use above define to set the condition of media filter and order keyword.
1086 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1089 #define MEDIA_MODEL "MEDIA_MODEL"
1092 * @brief Media file name pinyin
1093 * @details You can use above define to set the condition of media filter and order keyword.
1094 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1095 * @remarks Since 4.0, this keyword is related to the following feature:\n
1096 * - %http://tizen.org/feature/content.filter.pinyin\n
1097 * If this feature is not supported on the device, PINYIN search does not work.
1100 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1103 * @brief Media title pinyin
1104 * @details You can use above define to set the condition of media filter and order keyword.
1105 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1106 * @remarks Since 4.0, this keyword is related to the following feature:\n
1107 * - %http://tizen.org/feature/content.filter.pinyin\n
1108 * If this feature is not supported on the device, PINYIN search does not work.
1111 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1114 * @brief Media album pinyin
1115 * @details You can use above define to set the condition of media filter and order keyword.
1116 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1117 * @remarks Since 4.0, this keyword is related to the following feature:\n
1118 * - %http://tizen.org/feature/content.filter.pinyin\n
1119 * If this feature is not supported on the device, PINYIN search does not work.
1122 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1125 * @brief Media artist pinyin
1126 * @details You can use above define to set the condition of media filter and order keyword.
1127 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1128 * @remarks Since 4.0, this keyword is related to the following feature:\n
1129 * - %http://tizen.org/feature/content.filter.pinyin\n
1130 * If this feature is not supported on the device, PINYIN search does not work.
1133 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1136 * @brief Media album artist pinyin
1137 * @details You can use above define to set the condition of media filter and order keyword.
1138 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1139 * @remarks Since 4.0, this keyword is related to the following feature:\n
1140 * - %http://tizen.org/feature/content.filter.pinyin\n
1141 * If this feature is not supported on the device, PINYIN search does not work.
1144 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1147 * @brief Media genre pinyin
1148 * @details You can use above define to set the condition of media filter and order keyword.
1149 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1150 * @remarks Since 4.0, this keyword is related to the following feature:\n
1151 * - %http://tizen.org/feature/content.filter.pinyin\n
1152 * If this feature is not supported on the device, PINYIN search does not work.
1155 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1158 * @brief Media composer pinyin
1159 * @details You can use above define to set the condition of media filter and order keyword.
1160 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1161 * @remarks Since 4.0, this keyword is related to the following feature:\n
1162 * - %http://tizen.org/feature/content.filter.pinyin\n
1163 * If this feature is not supported on the device, PINYIN search does not work.
1166 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1169 * @brief Media copyright pinyin
1170 * @details You can use above define to set the condition of media filter and order keyword.
1171 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1172 * @remarks Since 4.0, this keyword is related to the following feature:\n
1173 * - %http://tizen.org/feature/content.filter.pinyin\n
1174 * If this feature is not supported on the device, PINYIN search does not work.
1177 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1180 * @brief Media description pinyin
1181 * @details You can use above define to set the condition of media filter and order keyword.
1182 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1183 * @remarks Since 4.0, this keyword is related to the following feature:\n
1184 * - %http://tizen.org/feature/content.filter.pinyin\n
1185 * If this feature is not supported on the device, PINYIN search does not work.
1188 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1191 * @deprecated Deprecated since 4.0.
1192 * @brief Media author pinyin
1193 * @details You can use above define to set the condition of media filter and order keyword.
1194 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1195 * @remarks Since 4.0, this keyword is related to the following feature:\n
1196 * - %http://tizen.org/feature/content.filter.pinyin\n
1197 * If this feature is not supported on the device, PINYIN search does not work.
1200 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1203 * @deprecated Deprecated since 4.0.
1204 * @brief Media provider pinyin
1205 * @details You can use above define to set the condition of media filter and order keyword.
1206 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1207 * @remarks Since 4.0, this keyword is related to the following feature:\n
1208 * - %http://tizen.org/feature/content.filter.pinyin\n
1209 * If this feature is not supported on the device, PINYIN search does not work.
1212 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1215 * @deprecated Deprecated since 4.0.
1216 * @brief Media content name pinyin
1217 * @details You can use above define to set the condition of media filter and order keyword.
1218 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1219 * @remarks Since 4.0, this keyword is related to the following feature:\n
1220 * - %http://tizen.org/feature/content.filter.pinyin\n
1221 * If this feature is not supported on the device, PINYIN search does not work.
1224 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1227 * @deprecated Deprecated since 4.0.
1228 * @brief Media category pinyin
1229 * @details You can use above define to set the condition of media filter and order keyword.
1230 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1231 * @remarks Since 4.0, this keyword is related to the following feature:\n
1232 * - %http://tizen.org/feature/content.filter.pinyin\n
1233 * If this feature is not supported on the device, PINYIN search does not work.
1236 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1239 * @deprecated Deprecated since 4.0.
1240 * @brief Media location tag pinyin
1241 * @details You can use above define to set the condition of media filter and order keyword.
1242 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1243 * @remarks Since 4.0, this keyword is related to the following feature:\n
1244 * - %http://tizen.org/feature/content.filter.pinyin\n
1245 * If this feature is not supported on the device, PINYIN search does not work.
1248 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1251 * @deprecated Deprecated since 4.0.
1252 * @brief Media age rating pinyin
1253 * @details You can use above define to set the condition of media filter and order keyword.
1254 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1255 * @remarks Since 4.0, this keyword is related to the following feature:\n
1256 * - %http://tizen.org/feature/content.filter.pinyin\n
1257 * If this feature is not supported on the device, PINYIN search does not work.
1260 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1263 * @deprecated Deprecated since 4.0.
1264 * @brief Media keyword pinyin
1265 * @details You can use above define to set the condition of media filter and order keyword.
1266 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1267 * @remarks Since 4.0, this keyword is related to the following feature:\n
1268 * - %http://tizen.org/feature/content.filter.pinyin\n
1269 * If this feature is not supported on the device, PINYIN search does not work.
1272 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1275 * @brief Virtual Reality content
1276 * @details You can use above define to set the condition of media filter and order keyword.
1280 #define MEDIA_360 "MEDIA_360"
1284 * @details You can use above define to set the condition of folder filter and order keyword.
1285 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1287 #define FOLDER_ID "FOLDER_ID"
1290 * @brief Folder full path
1291 * @details You can use above define to set the condition of folder filter and order keyword.
1292 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1294 #define FOLDER_PATH "FOLDER_PATH"
1297 * @brief Folder base name
1298 * @details You can use above define to set the condition of folder filter and order keyword.
1299 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1301 #define FOLDER_NAME "FOLDER_NAME"
1304 * @deprecated Deprecated since 4.0.
1305 * @brief Folder modified time
1306 * @details You can use above define to set the condition of folder filter and order keyword.
1307 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1309 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1312 * @brief Folder storage
1313 * @details There are 2 types:\n
1314 * 0-internal storage, 1-external storage\n
1315 * You can use above define to set the condition of folder filter and order keyword.
1316 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1318 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1321 * @brief Folder base name pinyin
1322 * @details You can use above define to set the condition of folder filter and order keyword.
1323 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1324 * @remarks Since 4.0, this keyword is related to the following feature:\n
1325 * - %http://tizen.org/feature/content.filter.pinyin\n
1326 * If this feature is not supported on the device, PINYIN search does not work.
1328 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1331 * @deprecated Deprecated since 4.0.
1332 * @brief Folder order info
1333 * @details You can use above define to set the condition of folder filter and order keyword.
1334 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1336 #define FOLDER_ORDER "FOLDER_ORDER"
1339 * @deprecated Deprecated since 4.0.
1340 * @brief Parent folder id
1341 * @details You can use above define to set the condition of folder filter and order keyword.
1342 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1344 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1347 * @brief Playlist name
1348 * @details You can use above define to set the condition of playlist filter and order keyword.
1349 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1351 #define PLAYLIST_NAME "PLAYLIST_NAME"
1354 * @brief Playlist id
1355 * @details You can use above define to set the condition of playlist filter and order keyword.
1358 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1361 * @brief Playlist name
1362 * @details You can use above define to set the condition of playlist filter and order keyword.
1363 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1365 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1368 * @brief Media count in playlist
1369 * @details You can use above define to set the condition of playlist filter and order keyword.
1370 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1372 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1376 * @details You can use above define to set the condition of tag filter and order keyword.
1377 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1379 #define TAG_NAME "TAG_NAME"
1383 * @details You can use above define to set the condition of tag filter and order keyword.
1386 #define MEDIA_TAG_ID "TAG_ID"
1389 * @brief Media count in tag
1390 * @details You can use above define to set the condition of tag filter and order keyword.
1391 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1393 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1396 * @brief Bookmark marked time
1397 * @details You can use above define to set the condition of bookmark filter and order keyword.
1398 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1400 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1403 * @brief Bookmark id
1404 * @details You can use above define to set the condition of bookmark filter and order keyword.
1407 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1410 * @brief Bookmark name
1411 * @details You can use above define to set the condition of bookmark filter and order keyword.
1414 #define BOOKMARK_NAME "BOOKMARK_NAME"
1418 * @details You can use above define to set the condition of storage filter and order keyword.
1419 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1421 #define MEDIA_STORAGE_ID "STORAGE_ID"
1424 * @brief Storage path
1425 * @details You can use above define to set the condition of storage filter and order keyword.
1426 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1428 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1432 * @details You can use above define to set the condition of face filter and order keyword.
1435 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1439 * @details You can use above define to set the condition of face filter and order keyword.
1442 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1451 #endif /* __cplusplus */
1454 #endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/