2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 #ifndef _USE_SENIOR_MODE
30 #define _USE_SENIOR_MODE
35 * @file media_content_type.h
36 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
37 * classes of errors and definitions of media-data. \n
38 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
39 * when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
43 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
48 * @ingroup CAPI_MEDIA_CONTENT_MODULE
49 * @brief Enumeration for the media file format.
50 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
53 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
54 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
55 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
56 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
57 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
58 MEDIA_CONTENT_TYPE_PVR = 5, /**<The type of PVR */
59 MEDIA_CONTENT_TYPE_UHD = 6, /**<The type of UHD */
60 MEDIA_CONTENT_TYPE_SCSA = 7, /**<The type of SCSA */
61 } media_content_type_e;
64 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
65 * @brief Enumeration for the storage type.
66 * @details This information is used to establish where the folder is.
67 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
70 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
71 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
72 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
73 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
74 } media_content_storage_e;
77 * @ingroup CAPI_MEDIA_CONTENT_MODULE
78 * @brief Enumeration for media content DB update items.
79 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
82 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
83 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
84 } media_content_db_update_item_type_e;
87 * @ingroup CAPI_MEDIA_CONTENT_MODULE
88 * @brief Enumeration for media content DB update types.
89 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
92 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
93 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
94 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
95 } media_content_db_update_type_e;
98 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
99 * @brief Enumeration for orientation types.
100 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
103 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
104 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
105 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
106 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
107 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
108 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
109 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
110 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
111 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
112 } media_content_orientation_e;
115 * @ingroup CAPI_MEDIA_CONTENT_MODULE
116 * @brief Enumeration for ordering.
117 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
120 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
121 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
122 MEDIA_CONTENT_ORDER_OTHER = 2, /** order by order key**/
123 } media_content_order_e;
126 * @ingroup CAPI_MEDIA_CONTENT_MODULE
127 * @brief Enumeration for collations.
128 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
131 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
132 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
133 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
134 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
135 } media_content_collation_e;
137 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
140 * @ingroup CAPI_MEDIA_CONTENT_MODULE
141 * @brief Enumeration for a media content error.
142 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
145 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
146 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
147 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
148 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
149 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
150 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
151 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
152 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
153 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
154 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
155 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
156 } media_content_error_e;
159 * @ingroup CAPI_MEDIA_CONTENT_MODULE
160 * @brief Enumeration for a media group.
161 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
164 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
165 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
166 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
167 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
168 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
169 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
170 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
171 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
172 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
173 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
174 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
175 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
176 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
177 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
178 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
179 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
180 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
181 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
182 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
183 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot*/
184 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
185 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author*/
186 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider*/
187 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name*/
188 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category*/
189 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag*/
190 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating*/
191 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword*/
192 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather*/
193 MEDIA_CONTENT_GROUP_MODIFIED_MONTH, /**< Media group ID for the modified time*/
194 MEDIA_CONTENT_GROUP_MODIFIED_DATE, /**< Media group ID for the modified date*/
195 #ifdef _USE_SENIOR_MODE
196 MEDIA_CONTENT_GROUP_CONTACT,
198 MEDIA_CONTENT_GROUP_ALBUM,
199 MEDIA_CONTENT_GROUP_MAX, /**< Invalid media group ID*/
200 MEDIA_PVR_GROUP_DURATION,
201 MEDIA_PVR_GROUP_TIME_ZONE,
203 MEDIA_PVR_GROUP_MAJOR,
204 MEDIA_PVR_GROUP_MINOR,
205 MEDIA_PVR_GROUP_CHANNEL_TYPE,
206 MEDIA_PVR_GROUP_CHANNEL_NAME,
207 MEDIA_PVR_GROUP_CHANNEL_NUM,
208 MEDIA_PVR_GROUP_PROGRAM_TITLE,
209 MEDIA_PVR_GROUP_PROGRAM_NUM,
210 MEDIA_PVR_GROUP_PROGRAM_CRID,
211 MEDIA_PVR_GROUP_GUIDANCE,
212 MEDIA_PVR_GROUP_SYNOPSIS,
213 MEDIA_PVR_GROUP_GENRE,
214 MEDIA_PVR_GROUP_LANGUAGE,
215 MEDIA_PVR_GROUP_EMBARGO_TIME,
216 MEDIA_PVR_GROUP_EXPIRY_TIME,
217 MEDIA_PVR_GROUP_START_TIME,
218 MEDIA_PVR_GROUP_PROGRAM_START_TIME,
219 MEDIA_PVR_GROUP_PROGRAM_END_TIME,
220 MEDIA_PVR_GROUP_PROGRAM_DATE,
221 MEDIA_PVR_GROUP_PARENTAL_RATING,
222 MEDIA_PVR_GROUP_TIMER_RECORD,
223 MEDIA_PVR_GROUP_SERIES_RECORD,
225 MEDIA_PVR_GROUP_SUBTITLE,
228 MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
229 MEDIA_PVR_GROUP_DATA_SERVICE,
230 MEDIA_PVR_GROUP_CONTENT_LOCK,
231 MEDIA_PVR_GROUP_CONTENT_WATCH,
232 MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
233 MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
234 MEDIA_PVR_GROUP_RESOLUTION,
235 MEDIA_PVR_GROUP_ASPECTRATIO,
236 MEDIA_PVR_GROUP_MODIFIED_MONTH,
237 MEDIA_PVR_GROUP_MODIFIED_DATE,
238 MEDIA_PVR_GROUP_SPORTS_TYPE,
239 MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
240 MEDIA_PVR_GROUP_TVMODE,
241 MEDIA_PVR_GROUP_PLAY_COUNT,
242 MEDIA_PVR_GROUP_PRIVATE_DATA,
244 MEDIA_UHD_GROUP_CONTENT_TITLE,
245 MEDIA_UHD_GROUP_RELEASE_DATE,
246 MEDIA_UHD_GROUP_SUB_TYPE,
247 MEDIA_UHD_GROUP_FILE_NAME,
248 MEDIA_UHD_GROUP_PLAYED_COUNT,
254 * @ingroup CAPI_MEDIA_CONTENT_MODULE
255 * @brief Enumeration for a media storage scan status.
259 MEDIA_STORAGE_SCAN_NONE = 0, /**< Media Scanner not detect storage yet*/
260 MEDIA_STORAGE_SCAN_PREPARE, /**< Media Scanner detect storage but not scanning yet*/
261 MEDIA_STORAGE_SCAN_PROCESSING, /**< Media Scanner Start Scanning storage*/
262 MEDIA_STORAGE_SCAN_STOP, /**< Media Scanner Stop Scanning storage. Not scanning items can be exist*/
263 MEDIA_STORAGE_SCAN_DONE, /**< Scanning Done but need to extract metadata*/
264 MEDIA_STORAGE_SCAN_META_PROCESSING, /**< Scanning Done and start to extract metadata*/
265 MEDIA_STORAGE_SCAN_META_STOP, /**< Stop extract metadata*/
266 MEDIA_STORAGE_SCAN_COMPLETE, /**< Complete scanning*/
267 MEDIA_STORAGE_SCAN_MAX, /**< Invalid status*/
268 } media_storage_scan_status_e;
271 MEDIA_DIR_SCAN_NONE = 0, /**< Media Scanner not detect storage yet*/
272 MEDIA_DIR_SCAN_PREPARE = 1, /**< Media Scanner detect storage but not scanning yet*/
273 MEDIA_DIR_SCAN_PROCESSING = 2, /**< Media Scanner Start Scanning storage*/
274 MEDIA_DIR_SCAN_STOP = 3, /**< Stop scanning storage*/
275 MEDIA_DIR_SCAN_DONE = 4, /**< Scanning Done but need to extract metadata*/
276 MEDIA_DIR_SCAN_META_PROCESSING = 5, /**< Scanning Done and start to extract metadata*/
277 MEDIA_DIR_SCAN_META_STOP = 6, /**< Stop extract metadata*/
278 MEDIA_DIR_SCAN_COMPLETE = 7, /**< Complete scanning*/
279 } media_folder_scan_status_e;
283 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
284 * @brief The structure type for the Media info handle.
285 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
287 typedef struct media_info_s *media_info_h;
290 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
291 * @brief The structure type for the Media folder handle.
292 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
294 typedef struct media_folder_s *media_folder_h;
297 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
298 * @brief The structure type for the Media playlist handle.
299 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
301 typedef struct media_playlist_s *media_playlist_h;
304 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
305 * @brief The structure type for the Media tag handle.
306 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
308 typedef struct media_tag_s *media_tag_h;
311 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
312 * @brief The structure type for the Media bookmark handle.
313 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
315 typedef struct media_bookmark_s *media_bookmark_h;
318 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
319 * @brief The structure type for the Media album handle.
320 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
322 typedef struct media_album_s *media_album_h;
325 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
326 * @brief The structure type for the Image metadata handle.
327 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
329 typedef struct image_meta_s *image_meta_h;
332 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
333 * @brief The structure type for the Video metadata handle.
334 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
336 typedef struct video_meta_s *video_meta_h;
339 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
340 * @brief The structure type for the Audio metadata handle.
341 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
343 typedef struct audio_meta_s *audio_meta_h;
346 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
347 * @brief The structure type for the Media filter handle.
348 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
350 typedef struct filter_s *filter_h;
353 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
354 * @brief The structure type for the Media storage handle.
355 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
357 typedef void *media_storage_h;
360 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
361 * @brief The structure type for the Media face handle.
364 typedef void *media_face_h;
367 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
368 * @brief The structure type for the Media content noti handle.
371 typedef void *media_content_noti_h;
374 * @ingroup CAPI_MEDIA_CONTENT_MODULE
375 * @brief Called when the media scanning is finished.
376 * @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] error The error code
380 * @param[in] user_data The user data passed from the foreach function
382 * @pre media_content_scan().
384 * @see media_content_scan()
387 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
390 * @ingroup CAPI_MEDIA_CONTENT_MODULE
391 * @brief Called when the notification of the media DB change is subscribed.
392 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
394 * @remarks The callback is called in a separate thread(not in the main loop).
396 * @param[in] error The error code
397 * @param[in] pid The PID which publishes notification
398 * @param[in] update_item The update item of notification
399 * @param[in] update_type The update type of notification
400 * @param[in] media_type The type of the media content (#media_content_type_e)
401 * @param[in] uuid The UUID of media or directory, which is updated
402 * @param[in] path The path of the media or directory
403 * @param[in] mime_type The mime type of the media info
404 * @param[in] user_data The user data passed from the foreach function
406 * @pre media_content_db_update_subscribe().
407 * @see media_content_db_update_subscribe()
409 typedef void (*media_content_db_update_cb)(
410 media_content_error_e error,
412 media_content_db_update_item_type_e update_item,
413 media_content_db_update_type_e update_type,
414 media_content_type_e media_type,
422 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
423 * @brief Called for every available media info.
424 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
426 * @details Iterates over a list of media info.
428 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
429 * The callback is called in the main loop.
431 * @param[in] media The handle to the media info
432 * @param[in] user_data The user data passed from the foreach function
434 * @return @c true to continue with the next iteration of the loop,
435 * otherwise @c false to break out of the loop
437 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
438 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
440 * @see media_info_clone()
441 * @see media_album_foreach_media_from_db()
442 * @see media_playlist_foreach_media_from_db()
443 * @see media_tag_foreach_media_from_db()
444 * @see media_info_foreach_media_from_db()
445 * @see media_folder_foreach_media_from_db()
447 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
451 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
452 * @brief Called when media items are inserted completely.
453 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
455 * @remarks The callback is called in a separate thread(not in the main loop).
457 * @param[in] media The handle to the media info
458 * @param[in] user_data The user data passed from the foreach function
460 * @pre media_info_insert_batch_to_db()
462 * @see media_info_insert_batch_to_db()
464 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
468 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
469 * @brief Called when the burst shot is inserted completely.
470 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
472 * @remarks The callback is called in a separate thread(not in the main loop).
474 * @param[in] media The handle to the media info
475 * @param[in] user_data The user data passed from the foreach function
477 * @pre media_info_insert_burst_shot_to_db()
479 * @see media_info_insert_burst_shot_to_db()
482 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
486 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
487 * @brief Called when creating a thumbnail image.
488 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
490 * @details This callback is called for completion of generating the thumbnail image.
491 * The following error codes can be delivered. \n
492 * #MEDIA_CONTENT_ERROR_NONE, \n
493 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
494 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
495 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
496 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
497 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
499 * @remarks The callback is called in a separate thread(not in the main loop).
501 * @param[in] error The error code
502 * @param[in] path The path of the thumbnail which is generated
503 * @param[in] user_data The user data passed from the foreach function
505 * @pre media_info_create_thumbnail()
507 * @see media_info_create_thumbnail()
509 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
512 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
513 * @brief Called when face detection on the image is completed.
515 * @details The following error codes can be delivered. \n
516 * #MEDIA_CONTENT_ERROR_NONE, \n
517 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
518 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
519 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
520 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
521 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
525 * @remarks The callback is called in a separate thread(not in the main loop).
527 * @param[in] error The error code
528 * @param[in] face_count The number of all detected faces
529 * @param[in] user_data The user data passed from the foreach function
531 * @pre media_info_start_face_detection()
533 * @see media_info_start_face_detection()
535 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
539 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
540 * @brief Called for every available media folder.
541 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
543 * @details Iterates over a list of folders.
545 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
546 * The callback is called in the main loop.
548 * @param[in] folder The handle to the media folder
549 * @param[in] user_data The user data passed from the foreach function
551 * @return @c true to continue with the next iteration of the loop,
552 * otherwise @c false to break out of the loop
554 * @pre media_folder_foreach_folder_from_db() will invoke this function.
555 * @see media_folder_clone()
556 * @see media_folder_foreach_folder_from_db()
558 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
561 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
562 * @brief Called for every playlist in the obtained list of playlists.
563 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
565 * @details Iterates over a playlist list.
567 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
568 * The callback is called in the main loop.
570 * @param[in] playlist The handle to the media playlist
571 * @param[in] user_data The user data passed from the foreach function
573 * @return @c true to continue with the next iteration of the loop,
574 * otherwise @c false to break out of the loop
576 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
578 * @see media_playlist_clone()
579 * @see media_playlist_foreach_playlist_from_db()
581 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
584 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
585 * @brief Called for every media info with playlist member ID in the obtained list of media info.
586 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
588 * @details Iterates over playlist members.
590 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
591 * The callback is called in the main loop.
593 * @param[in] playlist_member_id The ID to member of the playlist
594 * @param[in] media The handle to the media info
595 * @param[in] user_data The user data passed from the foreach function
597 * @return @c true to continue with the next iteration of the loop,
598 * otherwise @c false to break out of the loop
600 * @pre media_playlist_foreach_media_from_db() will invoke this function.
602 * @see media_info_clone()
603 * @see media_playlist_foreach_media_from_db()
605 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
608 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
609 * @brief Called for every tag in the obtained list of tags.
610 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
612 * @details Iterates over a list of tags.
614 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
615 * The callback is called in the main loop.
617 * @param[in] tag The handle to the media tag
618 * @param[in] user_data The user data passed from the foreach function
620 * @return @c true to continue with the next iteration of the loop,
621 * otherwise @c false to break out of the loop
623 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
625 * @see media_tag_clone()
626 * @see media_tag_foreach_tag_from_db()
627 * @see media_info_foreach_tag_from_db()
629 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
632 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
633 * @brief Called for every bookmark in the obtained list of bookmarks.
634 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
636 * @details Iterates over a bookmark list.
638 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
639 * The callback is called in the main loop.
641 * @param[in] bookmark The handle to the video bookmark
642 * @param[in] user_data The user data passed from the foreach function
644 * @return @c true to continue with the next iteration of the loop,
645 * otherwise @c false to break out of the loop
647 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
649 * @see media_info_foreach_bookmark_from_db()
651 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
654 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
655 * @brief Called for every album in the obtained list of groups.
656 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
658 * @details Iterates over an album list.
660 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
661 * The callback is called in the main loop.
663 * @param[in] album The handle to the media album
664 * @param[in] user_data The user data passed from the foreach function
666 * @return @c true to continue with the next iteration of the loop,
667 * otherwise @c false to break out of the loop
669 * @pre media_album_foreach_album_from_db() will invoke this function.
671 * @see media_album_clone()
672 * @see media_album_foreach_album_from_db()
674 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
677 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
678 * @brief Called for every group in the obtained list of groups.
679 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
681 * @details Iterates over a media group list.
683 * @remarks You should not free @a group_name returned by this function. \n
684 * The callback is called in the main loop.
686 * @param[in] group_name The name of the media group
687 * @param[in] user_data The user data passed from the foreach function
689 * @return @c true to continue with the next iteration of the loop,
690 * otherwise @c false to break out of the loop
692 * @pre media_group_foreach_group_from_db() will invoke this function.
694 * @see media_group_foreach_group_from_db()
696 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
700 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
701 * @brief Iterates over media group list
703 * @details This callback is called for every group in obtained list of groups
706 * @remarks You should not free group_name returned by this function.
708 * @param[in] group_name The name of media group
709 * @param[in] count Media count of media group
710 * @param[in] user_data The user data passed from the foreach function
711 * @return true to continue with the next iteration of the loop,
712 * @return false to break out of the loop.
713 * @pre media_group_foreach_group_and_count_from_db() will invoke this function.
714 * @see media_group_foreach_group_and_count_from_db()
716 typedef bool (*media_group_and_count_cb)(const char *group_name, int count, void *user_data);
719 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
720 * @brief Called for every storage in the obtained list of storages.
721 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
723 * @details Iterates over a media storage list.
725 * @remarks You should not destroy @a storage returned by this function. \n
726 * The callback is called in the main loop.
728 * @param[in] storage The handle of the media storage
729 * @param[in] user_data The user data passed from the foreach function
731 * @return @c true to continue with the next iteration of the loop,
732 * otherwise @c false to break out of the loop
734 * @pre media_storage_foreach_storage_from_db() will invoke this function.
736 * @see media_storage_foreach_storage_from_db()
738 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
741 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
742 * @brief Called for every face in the obtained list of face.
745 * @details Iterates over a media face list.
747 * @remarks You should not destroy @a face returned by this function. \n
748 * The callback is called in the main loop.
750 * @param[in] face The handle of the media face
751 * @param[in] user_data The user data passed from the foreach function
753 * @return @c true to continue with the next iteration of the loop,
754 * otherwise @c false to break out of the loop
756 * @pre media_info_foreach_face_from_db() will invoke this function.
758 * @see media_info_foreach_face_from_db()
760 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
767 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
772 * @brief You can use above define to set the condition of media filter and order keyword.
773 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
776 #define MEDIA_ID "MEDIA_ID" /**< Media ID */
779 * @brief You can use above define to set the condition of media filter and order keyword.
780 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
783 #define MEDIA_PATH "MEDIA_PATH" /**< Media full path */
786 * @brief You can use above define to set the condition of media filter and order keyword.
787 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
790 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME" /**< Media base name */
793 * @brief You can use above define to set the condition of media filter and order keyword.
794 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
797 #define MEDIA_TYPE "MEDIA_TYPE" /**< Media type: 0-image, 1-video, 2-sound, 3-music, 4-other*/
800 * @brief 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_MIME_TYPE "MEDIA_MIME_TYPE" /**< Media MIME type */
808 * @brief You can use above define to set the condition of media filter and order keyword.
809 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
812 #define MEDIA_SIZE "MEDIA_SIZE" /**< Media file size */
815 * @brief You can use above define to set the condition of media filter and order keyword.
816 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
819 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME" /**< Media added time */
822 * @brief You can use above define to set the condition of media filter and order keyword.
823 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
826 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME" /**< Media modified time */
829 * @brief 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_TIMELINE "MEDIA_TIMELINE" /**< Media modified time */
835 #define MEDIA_FOLDER_ID "MEDIA_FOLDER_ID" /**< Media folder ID */
838 * @brief You can use above define to set the condition of media filter and order keyword.
839 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
842 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH" /**< Media thumbnail path */
845 * @brief 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_TITLE "MEDIA_TITLE" /**< Media title get from tag or file name */
852 * @brief You can use above define to set the condition of media filter and order keyword.
853 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
856 #define MEDIA_ALBUM "MEDIA_ALBUM" /**< Media album name*/
859 * @brief You can use above define to set the condition of media filter and order keyword.
860 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
863 #define MEDIA_ARTIST "MEDIA_ARTIST" /**< Media artist*/
866 * @brief You can use above define to set the condition of media filter and order keyword.
867 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
870 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST" /**< Media album_artist*/
873 * @brief You can use above define to set the condition of media filter and order keyword.
874 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
877 #define MEDIA_GENRE "MEDIA_GENRE" /**< Media genre*/
880 * @brief You can use above define to set the condition of media filter and order keyword.
881 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
884 #define MEDIA_COMPOSER "MEDIA_COMPOSER" /**< Media composer*/
887 * @brief You can use above define to set the condition of media filter and order keyword.
888 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
891 #define MEDIA_YEAR "MEDIA_YEAR" /**< Media year*/
894 * @brief 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_RECORDED_DATE "MEDIA_RECORDED_DATE" /**< Media recorded date*/
901 * @brief 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_COPYRIGHT "MEDIA_COPYRIGHT" /**< Media copyright*/
908 * @brief You can use above define to set the condition of media filter and order keyword.
909 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
912 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM" /**< Media track number*/
915 * @brief You can use above define to set the condition of media filter and order keyword.
916 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
919 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION" /**< Media description*/
922 * @brief You can use above define to set the condition of media filter and order keyword.
923 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
926 #define MEDIA_BITRATE "MEDIA_BITRATE" /**< Media bitrate*/
929 * @brief You can use above define to set the condition of media filter and order keyword.
930 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
933 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE" /**< Media bit per sample*/
936 * @brief 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_SAMPLERATE "MEDIA_SAMPLERATE" /**< Media sample rate*/
943 * @brief You can use above define to set the condition of media filter and order keyword.
944 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
947 #define MEDIA_CHANNEL "MEDIA_CHANNEL" /**< Media channel*/
950 * @brief You can use above define to set the condition of media filter and order keyword.
951 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
954 #define MEDIA_DURATION "MEDIA_DURATION" /**< Media duration */
957 * @brief You can use above define to set the condition of media filter and order keyword.
958 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
961 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE" /**< Media longitude */
964 * @brief You can use above define to set the condition of media filter and order keyword.
965 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
968 #define MEDIA_LATITUDE "MEDIA_LATITUDE" /**< Media latitude */
971 * @brief You can use above define to set the condition of media filter and order keyword.
972 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
975 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE" /**< Media altitude */
978 * @brief You can use above define to set the condition of media filter and order keyword.
979 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
982 #define MEDIA_WIDTH "MEDIA_WIDTH" /**< Media width*/
985 * @brief You can use above define to set the condition of media filter and order keyword.
986 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
989 #define MEDIA_HEIGHT "MEDIA_HEIGHT" /**< Media height*/
992 * @brief You can use above define to set the condition of media filter and order keyword.
993 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
996 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN" /**< Media datetaken*/
999 * @brief You can use above define to set the condition of media filter and order keyword.
1000 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1003 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION" /**< Media orientation*/
1006 * @brief 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_BURST_ID "BURST_ID" /**< Media burst ID*/
1013 * @brief You can use above define to set the condition of media filter and order keyword.
1014 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1017 #define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT" /**< Media playedcount*/
1020 * @brief 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
1024 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME" /**< Media last played time*/
1027 * @brief You can use above define to set the condition of media filter and order keyword.
1028 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1031 #define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION" /**< Media last played position of file*/
1034 * @brief You can use above define to set the condition of media filter and order keyword.
1035 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1038 #define MEDIA_RATING "MEDIA_RATING" /**< Media rating*/
1041 * @brief You can use above define to set the condition of media filter and order keyword.
1042 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1045 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE" /**< The time to register favourite*/
1048 * @brief You can use above define to set the condition of media filter and order keyword.
1049 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1052 #define MEDIA_AUTHOR "MEDIA_AUTHOR" /**< Media author*/
1055 * @brief You can use above define to set the condition of media filter and order keyword.
1056 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1059 #define MEDIA_PROVIDER "MEDIA_PROVIDER" /**< Media provider*/
1062 * @brief You can use above define to set the condition of media filter and order keyword.
1063 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1066 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME" /**< Media content name*/
1069 * @brief You can use above define to set the condition of media filter and order keyword.
1070 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1073 #define MEDIA_CATEGORY "MEDIA_CATEGORY" /**< Media category*/
1076 * @brief You can use above define to set the condition of media filter and order keyword.
1077 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1080 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG" /**< Media location tag*/
1083 * @brief You can use above define to set the condition of media filter and order keyword.
1084 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1087 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING" /**< Media age rating*/
1090 * @brief You can use above define to set the condition of media filter and order keyword.
1091 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1094 #define MEDIA_KEYWORD "MEDIA_KEYWORD" /**< Media keyword*/
1097 * @brief You can use above define to set the condition of media filter and order keyword.
1098 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1101 #define MEDIA_WEATHER "MEDIA_WEATHER" /**< Media weather*/
1104 * @brief You can use above define to set the condition of media filter and order keyword.
1105 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1108 #define MEDIA_IS_DRM "MEDIA_IS_DRM" /**< Is DRM. 0-not drm, 1-drm*/
1111 * @brief You can use above define to set the condition of media filter and order keyword.
1112 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1115 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE" /**< Media storage. 0-internal storage, 1-external storage*/
1117 #define MEDIA_MODIFIED_MONTH "MEDIA_MODIFIED_MONTH" /**< media modified month */
1118 #define MEDIA_MODIFIED_DATE "MEDIA_MODIFIED_DATE" /**< media modified date */
1121 * @brief You can use above define to set the condition of media filter and order keyword.
1122 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1125 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME" /**< media exposure_time*/
1128 * @brief You can use above define to set the condition of media filter and order keyword.
1129 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1132 #define MEDIA_FNUMBER "MEDIA_FNUMBER" /**< media fnumber*/
1135 * @brief You can use above define to set the condition of media filter and order keyword.
1136 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1139 #define MEDIA_ISO "MEDIA_ISO" /**< media iso*/
1142 * @brief You can use above define to set the condition of media filter and order keyword.
1143 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1146 #define MEDIA_MODEL "MEDIA_MODEL" /**< media model*/
1149 * @brief You can use above define to set the condition of media filter and order keyword.
1150 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1153 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN" /**< Media file name pinyin */
1156 * @brief You can use above define to set the condition of media filter and order keyword.
1157 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1160 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN" /**< Media title pinyin */
1163 * @brief You can use above define to set the condition of media filter and order keyword.
1164 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1167 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN" /**< Media album pinyin*/
1170 * @brief 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
1174 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN" /**< Media artist pinyin*/
1177 * @brief You can use above define to set the condition of media filter and order keyword.
1178 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1181 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN" /**< Media album_artist pinyin*/
1184 * @brief You can use above define to set the condition of media filter and order keyword.
1185 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1188 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN" /**< Media genre pinyin*/
1191 * @brief You can use above define to set the condition of media filter and order keyword.
1192 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1195 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN" /**< Media composer pinyin*/
1198 * @brief You can use above define to set the condition of media filter and order keyword.
1199 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1202 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN" /**< Media copyright pinyin*/
1205 * @brief 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
1209 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN" /**< Media description pinyin*/
1212 * @brief You can use above define to set the condition of media filter and order keyword.
1213 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1216 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN" /**< Media author pinyin*/
1219 * @brief You can use above define to set the condition of media filter and order keyword.
1220 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1223 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN" /**< Media provider pinyin*/
1226 * @brief You can use above define to set the condition of media filter and order keyword.
1227 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1230 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN" /**< Media content name pinyin*/
1233 * @brief You can use above define to set the condition of media filter and order keyword.
1234 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1237 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN" /**< Media category pinyin*/
1240 * @brief You can use above define to set the condition of media filter and order keyword.
1241 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1244 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN" /**< Media location tag pinyin*/
1247 * @brief You can use above define to set the condition of media filter and order keyword.
1248 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1251 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN" /**< Media age rating pinyin*/
1254 * @brief You can use above define to set the condition of media filter and order keyword.
1255 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1258 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN" /**< Media keyword pinyin*/
1261 * @brief You can use above define to set the condition of media filter and order keyword.
1265 #define MEDIA_360 "MEDIA_360"
1266 #define MEDIA_STITCHED_INFO "MEDIA_STITCHED_INFO"
1268 #ifdef _USE_SENIOR_MODE
1269 #define MEDIA_CONTACT "MEDIA_CONTACT"
1270 #define MEDIA_APP_DATA "MEDIA_APP_DATA"
1279 * @addtogroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
1284 * @brief 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" /**< Folder ID */
1290 * @brief You can use above define to set the condition of folder filter and order keyword.
1291 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1293 #define FOLDER_PATH "FOLDER_PATH" /**< Folder full path */
1296 * @brief You can use above define to set the condition of folder filter and order keyword.
1297 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1299 #define FOLDER_NAME "FOLDER_NAME" /**< Folder base name */
1302 * @brief You can use above define to set the condition of folder filter and order keyword.
1303 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1305 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME" /**< Folder modified time */
1308 * @brief You can use above define to set the condition of folder filter and order keyword.
1309 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1311 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE" /**< Folder storage. 0-internal storage, 1-external storage*/
1314 * @brief You can use above define to set the condition of folder filter and order keyword.
1315 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1317 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN" /**< Folder base name pinyin*/
1320 * @brief You can use above define to set the condition of folder filter and order keyword.
1321 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1323 #define FOLDER_ORDER "FOLDER_ORDER" /**< Folder order info */
1326 * @brief You can use above define to set the condition of folder filter and order keyword.
1327 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1329 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID" /**< parent folder id */
1336 * @addtogroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
1338 * @brief You can use above define to set the condition of playlist filter and order keyword.
1339 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1341 #define PLAYLIST_NAME "PLAYLIST_NAME" /**< Playlist name */
1344 * @brief You can use above define to set the condition of playlist filter and order keyword.
1345 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1347 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER" /**< Playlist name */
1350 * @brief You can use above define to set the condition of playlist filter and order keyword.
1351 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1353 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT" /**< Media count in playlist view */
1360 * @addtogroup CAPI_CONTENT_MEDIA_TAG_MODULE
1362 * @brief You can use above define to set the condition of tag filter and order keyword.
1363 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1365 #define TAG_NAME "TAG_NAME" /**< Tag name */
1368 * @brief You can use above define to set the condition of tag filter and order keyword.
1369 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1371 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT" /**< Media count in tag view */
1378 * @addtogroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
1380 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1381 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1383 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME" /**< Bookmark marked time */
1386 * @brief You can use above define to set the condition of bookmark filter and order keyword.
1389 #define BOOKMARK_NAME "BOOKMARK_NAME" /**< Bookmark name */
1396 * @addtogroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
1398 * @brief You can use above define to set the condition of storage filter and order keyword.
1399 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1401 #define MEDIA_STORAGE_ID "STORAGE_ID" /**< Storage ID */
1404 * @brief You can use above define to set the condition of storage filter and order keyword.
1405 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1407 #define MEDIA_STORAGE_PATH "STORAGE_PATH" /**< Storage path */
1414 * @addtogroup CAPI_CONTENT_MEDIA_FACE_MODULE
1416 * @brief You can use above define to set the condition of face filter and order keyword.
1419 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG" /**< face tag */
1428 #endif /* __cplusplus */
1431 #endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/