2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 #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
51 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
52 * %http://tizen.org/feature/content.scanning.others\n
53 * If this feature is not supported on the device, MEDIA_CONTENT_TYPE_OTHERS type file is not scanned.
56 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
57 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
58 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
59 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
60 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
61 MEDIA_CONTENT_TYPE_PVR = 5, /**<The type of PVR */
62 MEDIA_CONTENT_TYPE_UHD = 6, /**<The type of UHD */
63 MEDIA_CONTENT_TYPE_SCSA = 7, /**<The type of SCSA */
64 } media_content_type_e;
67 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
68 * @brief Enumeration for the storage type.
69 * @details This information is used to establish where the folder is.
70 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
73 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
74 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
75 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
76 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
77 } media_content_storage_e;
80 * @ingroup CAPI_MEDIA_CONTENT_MODULE
81 * @brief Enumeration for media content DB update items.
82 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
85 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
86 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
87 } media_content_db_update_item_type_e;
90 * @ingroup CAPI_MEDIA_CONTENT_MODULE
91 * @brief Enumeration for media content DB update types.
92 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
95 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
96 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
97 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
98 } media_content_db_update_type_e;
101 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
102 * @brief Enumeration for orientation types.
103 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
106 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
107 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
108 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
109 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
110 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
111 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
112 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
113 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
114 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
115 } media_content_orientation_e;
118 * @ingroup CAPI_MEDIA_CONTENT_MODULE
119 * @brief Enumeration for ordering.
120 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
123 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
124 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
125 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
126 } media_content_order_e;
129 * @ingroup CAPI_MEDIA_CONTENT_MODULE
130 * @brief Enumeration for collations.
131 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
134 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
135 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
136 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
137 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
138 } media_content_collation_e;
141 * @brief Error class.
142 * @details Class for Media Content error
143 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
146 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
149 * @ingroup CAPI_MEDIA_CONTENT_MODULE
150 * @brief Enumeration for a media content error.
151 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
154 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
155 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
156 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
157 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
158 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
159 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
160 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
161 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
162 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
163 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
164 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
165 } media_content_error_e;
168 * @ingroup CAPI_MEDIA_CONTENT_MODULE
169 * @brief Enumeration for a media group.
170 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
173 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
174 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
175 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
176 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
177 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
178 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
179 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
180 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
181 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
182 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
183 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
184 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
185 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
186 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
187 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
188 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
189 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
190 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
191 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
192 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot (Deprecated since 4.0)*/
193 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
194 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author (Deprecated since 4.0)*/
195 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider (Deprecated since 4.0)*/
196 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
197 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category (Deprecated since 4.0)*/
198 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag (Deprecated since 4.0)*/
199 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating (Deprecated since 4.0)*/
200 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
201 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather (Deprecated since 4.0)*/
202 MEDIA_CONTENT_GROUP_MODIFIED_MONTH, /**< Media group ID for the modified time*/
203 MEDIA_CONTENT_GROUP_MODIFIED_DATE, /**< Media group ID for the modified date*/
204 #ifdef _USE_SENIOR_MODE
205 MEDIA_CONTENT_GROUP_CONTACT,
207 MEDIA_CONTENT_GROUP_ALBUM,
208 MEDIA_CONTENT_GROUP_MAX, /**< Invalid media group ID*/
209 MEDIA_PVR_GROUP_DURATION,
210 MEDIA_PVR_GROUP_TIME_ZONE,
212 MEDIA_PVR_GROUP_MAJOR,
213 MEDIA_PVR_GROUP_MINOR,
214 MEDIA_PVR_GROUP_CHANNEL_TYPE,
215 MEDIA_PVR_GROUP_CHANNEL_NAME,
216 MEDIA_PVR_GROUP_CHANNEL_NUM,
217 MEDIA_PVR_GROUP_PROGRAM_TITLE,
218 MEDIA_PVR_GROUP_PROGRAM_NUM,
219 MEDIA_PVR_GROUP_PROGRAM_CRID,
220 MEDIA_PVR_GROUP_GUIDANCE,
221 MEDIA_PVR_GROUP_SYNOPSIS,
222 MEDIA_PVR_GROUP_GENRE,
223 MEDIA_PVR_GROUP_LANGUAGE,
224 MEDIA_PVR_GROUP_EMBARGO_TIME,
225 MEDIA_PVR_GROUP_EXPIRY_TIME,
226 MEDIA_PVR_GROUP_START_TIME,
227 MEDIA_PVR_GROUP_PROGRAM_START_TIME,
228 MEDIA_PVR_GROUP_PROGRAM_END_TIME,
229 MEDIA_PVR_GROUP_PROGRAM_DATE,
230 MEDIA_PVR_GROUP_PARENTAL_RATING,
231 MEDIA_PVR_GROUP_TIMER_RECORD,
232 MEDIA_PVR_GROUP_SERIES_RECORD,
234 MEDIA_PVR_GROUP_SUBTITLE,
237 MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
238 MEDIA_PVR_GROUP_DATA_SERVICE,
239 MEDIA_PVR_GROUP_CONTENT_LOCK,
240 MEDIA_PVR_GROUP_CONTENT_WATCH,
241 MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
242 MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
243 MEDIA_PVR_GROUP_RESOLUTION,
244 MEDIA_PVR_GROUP_ASPECTRATIO,
245 MEDIA_PVR_GROUP_MODIFIED_MONTH,
246 MEDIA_PVR_GROUP_MODIFIED_DATE,
247 MEDIA_PVR_GROUP_SPORTS_TYPE,
248 MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
249 MEDIA_PVR_GROUP_TVMODE,
250 MEDIA_PVR_GROUP_PLAY_COUNT,
251 MEDIA_PVR_GROUP_PRIVATE_DATA,
253 MEDIA_UHD_GROUP_CONTENT_TITLE,
254 MEDIA_UHD_GROUP_RELEASE_DATE,
255 MEDIA_UHD_GROUP_SUB_TYPE,
256 MEDIA_UHD_GROUP_FILE_NAME,
257 MEDIA_UHD_GROUP_PLAYED_COUNT,
263 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
264 * @brief The structure type for the Media info handle.
265 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
267 typedef struct media_info_s *media_info_h;
270 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
271 * @brief The structure type for the Media folder handle.
272 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
274 typedef struct media_folder_s *media_folder_h;
277 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
278 * @brief The structure type for the Media playlist handle.
279 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
281 typedef struct media_playlist_s *media_playlist_h;
284 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
285 * @brief The structure type for the Media tag handle.
286 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
288 typedef struct media_tag_s *media_tag_h;
291 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
292 * @brief The structure type for the Media bookmark handle.
293 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
295 typedef struct media_bookmark_s *media_bookmark_h;
298 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
299 * @brief The structure type for the Media album handle.
300 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
302 typedef struct media_album_s *media_album_h;
305 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
306 * @brief The structure type for the Image metadata handle.
307 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
309 typedef struct image_meta_s *image_meta_h;
312 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
313 * @brief The structure type for the Video metadata handle.
314 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
316 typedef struct video_meta_s *video_meta_h;
319 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
320 * @brief The structure type for the Audio metadata handle.
321 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
323 typedef struct audio_meta_s *audio_meta_h;
326 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
327 * @brief The structure type for the Media filter handle.
328 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
330 typedef struct filter_s *filter_h;
333 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
334 * @brief The structure type for the Media storage handle.
335 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
337 typedef void *media_storage_h;
340 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
341 * @brief The structure type for the Media face handle.
344 typedef void *media_face_h;
347 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
348 * @brief The structure type for the Media content noti handle.
351 typedef void *media_content_noti_h;
354 * @ingroup CAPI_MEDIA_CONTENT_MODULE
355 * @brief Called when the media scanning is finished.
356 * @details The following error codes can be received: \n
357 * #MEDIA_CONTENT_ERROR_NONE : Success \n
358 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
359 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
360 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
361 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
362 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
363 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
364 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
365 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
366 * @remarks The callback is called in a separate thread(not in the main loop).
368 * @param[in] error The error code
369 * @param[in] user_data The user data passed from the foreach function
371 * @pre media_content_scan_folder().
372 * @see media_content_scan_folder()
374 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
377 * @ingroup CAPI_MEDIA_CONTENT_MODULE
378 * @brief Called when the notification of the media DB change is subscribed.
379 * @details The following error codes can be received: \n
380 * #MEDIA_CONTENT_ERROR_NONE : Success \n
381 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
383 * @remarks The callback is called in a separate thread(not in the main loop).
385 * @param[in] error The error code
386 * @param[in] pid The PID which publishes notification
387 * @param[in] update_item The update item of notification
388 * @param[in] update_type The update type of notification
389 * @param[in] media_type The type of the media content (#media_content_type_e)
390 * @param[in] uuid The UUID of media or directory, which is updated
391 * @param[in] path The path of the media or directory
392 * @param[in] mime_type The MIME of the media info
393 * @param[in] user_data The user data passed from the foreach function
395 * @pre media_content_add_db_updated_cb().
396 * @see media_content_add_db_updated_cb()
398 typedef void (*media_content_db_update_cb)(
399 media_content_error_e error,
401 media_content_db_update_item_type_e update_item,
402 media_content_db_update_type_e update_type,
403 media_content_type_e media_type,
411 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
412 * @brief Called for every available media info.
413 * @details Iterates over a list of media info.
414 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
416 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
417 * The callback is called in the main loop.
419 * @param[in] media The handle to the media info
420 * @param[in] user_data The user data passed from the foreach function
422 * @return @c true to continue with the next iteration of the loop,
423 * otherwise @c false to break out of the loop
425 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
426 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
428 * @see media_info_clone()
429 * @see media_album_foreach_media_from_db()
430 * @see media_playlist_foreach_media_from_db()
431 * @see media_tag_foreach_media_from_db()
432 * @see media_info_foreach_media_from_db()
433 * @see media_folder_foreach_media_from_db()
435 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
439 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
440 * @brief Called when media items are inserted completely.
441 * @details The following error codes can be received: \n
442 * #MEDIA_CONTENT_ERROR_NONE : Success \n
443 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
444 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
445 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
446 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
447 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
448 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
449 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
450 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
451 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
453 * @remarks The callback is called in a separate thread(not in the main loop).
455 * @param[in] error The error code
456 * @param[in] user_data The user data passed from the foreach function
458 * @pre media_info_insert_batch_to_db()
459 * @see media_info_insert_batch_to_db()
461 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
465 * @deprecated Deprecated since 4.0.
466 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
467 * @brief Called when the burst shot is inserted completely.
468 * @details The following error codes can be received: \n
469 * #MEDIA_CONTENT_ERROR_NONE : Success \n
470 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
471 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
472 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
473 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
474 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
475 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
476 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
477 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
479 * @remarks The callback is called in a separate thread(not in the main loop).
481 * @param[in] error The error code
482 * @param[in] user_data The user data passed from the foreach function
484 * @pre media_info_insert_burst_shot_to_db()
485 * @see media_info_insert_burst_shot_to_db()
488 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
492 * @deprecated Deprecated since 5.0.
493 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
494 * @brief Called when creating a thumbnail image.
495 * @details This callback is called for completion of generating the thumbnail image.
496 * The following error codes can be delivered. \n
497 * #MEDIA_CONTENT_ERROR_NONE, \n
498 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
499 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
500 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
501 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
502 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
503 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
505 * @remarks The callback is called in a separate thread(not in the main loop).
507 * @param[in] error The error code
508 * @param[in] path The path of the thumbnail which is generated
509 * @param[in] user_data The user data passed from the foreach function
511 * @pre media_info_create_thumbnail()
512 * @see media_info_create_thumbnail()
514 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
517 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
518 * @brief Called when face detection on the image is completed.
520 * @details The following error codes can be delivered. \n
521 * #MEDIA_CONTENT_ERROR_NONE, \n
522 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
523 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
524 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
525 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
526 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
530 * @remarks The callback is called in a separate thread(not in the main loop).
532 * @param[in] error The error code
533 * @param[in] face_count The number of all detected faces
534 * @param[in] user_data The user data passed from the foreach function
536 * @pre media_info_start_face_detection()
537 * @see media_info_start_face_detection()
539 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
543 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
544 * @brief Called for every available media folder.
545 * @details Iterates over a list of folders.
547 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
549 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
550 * The callback is called in the main loop.
552 * @param[in] folder The handle to the media folder
553 * @param[in] user_data The user data passed from the foreach function
555 * @return @c true to continue with the next iteration of the loop,
556 * otherwise @c false to break out of the loop
558 * @pre media_folder_foreach_folder_from_db() will invoke this function.
559 * @see media_folder_clone()
560 * @see media_folder_foreach_folder_from_db()
562 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
565 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
566 * @brief Called for every playlist in the obtained list of playlists.
567 * @details Iterates over a playlist list.
569 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
571 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
572 * The callback is called in the main loop.
574 * @param[in] playlist The handle to the media playlist
575 * @param[in] user_data The user data passed from the foreach function
577 * @return @c true to continue with the next iteration of the loop,
578 * otherwise @c false to break out of the loop
580 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
582 * @see media_playlist_clone()
583 * @see media_playlist_foreach_playlist_from_db()
585 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
588 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
589 * @brief Called for every media info with playlist member ID in the obtained list of media info.
590 * @details Iterates over playlist members.
592 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
594 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
595 * The callback is called in the main loop.
597 * @param[in] playlist_member_id The ID of the playlist member
598 * @param[in] media The handle to the media info
599 * @param[in] user_data The user data passed from the foreach function
601 * @return @c true to continue with the next iteration of the loop,
602 * otherwise @c false to break out of the loop
604 * @pre media_playlist_foreach_media_from_db() will invoke this function.
606 * @see media_info_clone()
607 * @see media_playlist_foreach_media_from_db()
609 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
612 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
613 * @brief Called for every tag in the obtained list of tags.
614 * @details Iterates over a list of tags.
616 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
618 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
619 * The callback is called in the main loop.
621 * @param[in] tag The handle to the media tag
622 * @param[in] user_data The user data passed from the foreach function
624 * @return @c true to continue with the next iteration of the loop,
625 * otherwise @c false to break out of the loop
627 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
629 * @see media_tag_clone()
630 * @see media_tag_foreach_tag_from_db()
631 * @see media_info_foreach_tag_from_db()
633 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
636 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
637 * @brief Called for every bookmark in the obtained list of bookmarks.
638 * @details Iterates over a bookmark list.
640 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
642 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
643 * The callback is called in the main loop.
645 * @param[in] bookmark The handle to the media bookmark
646 * @param[in] user_data The user data passed from the foreach function
648 * @return @c true to continue with the next iteration of the loop,
649 * otherwise @c false to break out of the loop
651 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
652 * @see media_info_foreach_bookmark_from_db()
654 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
657 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
658 * @brief Called for every album in the obtained list of groups.
659 * @details Iterates over an album list.
661 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
663 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
664 * The callback is called in the main loop.
666 * @param[in] album The handle to the media album
667 * @param[in] user_data The user data passed from the foreach function
669 * @return @c true to continue with the next iteration of the loop,
670 * otherwise @c false to break out of the loop
672 * @pre media_album_foreach_album_from_db() will invoke this function.
674 * @see media_album_clone()
675 * @see media_album_foreach_album_from_db()
677 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
680 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
681 * @brief Called for every group in the obtained list of groups.
682 * @details Iterates over a media group list.
684 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
686 * @remarks You should not free @a group_name returned by this function. \n
687 * The callback is called in the main loop.
689 * @param[in] group_name The name of the media group
690 * @param[in] user_data The user data passed from the foreach function
692 * @return @c true to continue with the next iteration of the loop,
693 * otherwise @c false to break out of the loop
695 * @pre media_group_foreach_group_from_db() will invoke this function.
696 * @see media_group_foreach_group_from_db()
698 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
701 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
702 * @brief Called for every storage in the obtained list of storages.
703 * @details Iterates over a media storage list.
705 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
707 * @remarks You should not destroy @a storage returned by this function. \n
708 * The callback is called in the main loop.
710 * @param[in] storage The handle of the media storage
711 * @param[in] user_data The user data passed from the foreach function
713 * @return @c true to continue with the next iteration of the loop,
714 * otherwise @c false to break out of the loop
716 * @pre media_storage_foreach_storage_from_db() will invoke this function.
717 * @see media_storage_foreach_storage_from_db()
719 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
722 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
723 * @brief Called for every face in the obtained list of face.
724 * @details Iterates over a media face list.
728 * @remarks You should not destroy @a face returned by this function. \n
729 * The callback is called in the main loop.
731 * @param[in] face The handle of the media face
732 * @param[in] user_data The user data passed from the foreach function
734 * @return @c true to continue with the next iteration of the loop,
735 * otherwise @c false to break out of the loop
737 * @pre media_info_foreach_face_from_db() will invoke this function.
738 * @see media_info_foreach_face_from_db()
740 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
747 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
753 * @details You can use above define to set the condition of media filter and order keyword.
754 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
757 #define MEDIA_ID "MEDIA_ID"
760 * @brief Media full path.
761 * @details You can use above define to set the condition of media filter and order keyword.
762 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
765 #define MEDIA_PATH "MEDIA_PATH"
768 * @brief The file name including the extension.
769 * @details You can use above define to set the condition of media filter and order keyword.
770 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
773 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
777 * @details There are 5 media types:\n
778 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
779 * 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_TYPE "MEDIA_TYPE"
786 * @brief Media MIME type.
787 * @details You can use above define to set the condition of media filter and order keyword.
788 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
791 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
795 * @brief Media file size.
796 * @details You can use above define to set the condition of media filter and order keyword.
797 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
800 #define MEDIA_SIZE "MEDIA_SIZE"
803 * @brief The time that content file was first added to media database.
804 * @details You can use above define to set the condition of media filter and order keyword.
805 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
808 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
811 * @brief The last modification time provided by the file system.
812 * @details You can use above define to set the condition of media filter and order keyword.
813 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
816 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
819 * @brief Media created time.
820 * @details You can use above define to set the condition of media filter and order keyword.
821 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
824 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
827 * @brief Media thumbnail path.
828 * @details You can use above define to set the condition of media filter and order keyword.
829 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
832 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
835 * @brief Media title get from tag or file name.
836 * @details You can use above define to set the condition of media filter and order keyword.
837 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
840 #define MEDIA_TITLE "MEDIA_TITLE"
843 * @brief Media album name.
844 * @details You can use above define to set the condition of media filter and order keyword.
845 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
848 #define MEDIA_ALBUM "MEDIA_ALBUM"
851 * @brief Media artist.
852 * @details 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_ARTIST "MEDIA_ARTIST"
859 * @brief Media album artist.
860 * @details You can use above define to set the condition of media filter and order keyword.
861 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
864 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
867 * @brief Media genre.
868 * @details You can use above define to set the condition of media filter and order keyword.
869 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
872 #define MEDIA_GENRE "MEDIA_GENRE"
875 * @brief Media composer.
876 * @details You can use above define to set the condition of media filter and order keyword.
877 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
880 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
884 * @details You can use above define to set the condition of media filter and order keyword.
885 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
888 #define MEDIA_YEAR "MEDIA_YEAR"
891 * @brief Media recorded date.
892 * @details You can use above define to set the condition of media filter and order keyword.
893 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
896 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
899 * @brief Media copyright.
900 * @details You can use above define to set the condition of media filter and order keyword.
901 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
904 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
907 * @brief Media track number.
908 * @details 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"
915 * @brief Media description.
916 * @details You can use above define to set the condition of media filter and order keyword.
917 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
920 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
923 * @brief Media bitrate.
924 * @details You can use above define to set the condition of media filter and order keyword.
925 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
928 #define MEDIA_BITRATE "MEDIA_BITRATE"
931 * @brief Media bit per sample.
932 * @details You can use above define to set the condition of media filter and order keyword.
933 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
936 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
939 * @brief Media sample rate.
940 * @details You can use above define to set the condition of media filter and order keyword.
941 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
944 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
947 * @brief Media channel.
948 * @details You can use above define to set the condition of media filter and order keyword.
949 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
952 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
955 * @brief Media duration.
956 * @details You can use above define to set the condition of media filter and order keyword.
957 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
960 #define MEDIA_DURATION "MEDIA_DURATION"
963 * @brief Media longitude.
964 * @details 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_LONGITUDE "MEDIA_LONGITUDE"
971 * @brief Media latitude.
972 * @details You can use above define to set the condition of media filter and order keyword.
973 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
976 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
979 * @brief Media altitude.
980 * @details You can use above define to set the condition of media filter and order keyword.
981 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
984 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
987 * @brief Media width.
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_WIDTH "MEDIA_WIDTH"
995 * @brief Media height.
996 * @details You can use above define to set the condition of media filter and order keyword.
997 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1000 #define MEDIA_HEIGHT "MEDIA_HEIGHT"
1003 * @brief Media datetaken.
1004 * @details You can use above define to set the condition of media filter and order keyword.
1005 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1008 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
1011 * @brief Media orientation.
1012 * @details You can use above define to set the condition of media filter and order keyword.
1013 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1016 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
1019 * @deprecated Deprecated since 4.0.
1020 * @brief Media burst ID.
1021 * @details You can use above define to set the condition of media filter and order keyword.
1022 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1025 #define MEDIA_BURST_ID "BURST_ID"
1028 * @deprecated Deprecated since 4.0.
1029 * @brief Media playedcount.
1030 * @details You can use above define to set the condition of media filter and order keyword.
1031 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1034 #define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
1037 * @deprecated Deprecated since 4.0.
1038 * @brief Media last played time.
1039 * @details You can use above define to set the condition of media filter and order keyword.
1040 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1043 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
1046 * @deprecated Deprecated since 4.0.
1047 * @brief Media last played position of file.
1048 * @details 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_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
1055 * @brief Media rating.
1056 * @details You can use above define to set the condition of media filter and order keyword.
1057 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1060 #define MEDIA_RATING "MEDIA_RATING"
1063 * @brief The time to register favourite.
1064 * @details You can use above define to set the condition of media filter and order keyword.
1065 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1068 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1071 * @deprecated Deprecated since 4.0.
1072 * @brief Media author.
1073 * @details You can use above define to set the condition of media filter and order keyword.
1074 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1077 #define MEDIA_AUTHOR "MEDIA_AUTHOR"
1080 * @deprecated Deprecated since 4.0.
1081 * @brief Media provider.
1082 * @details You can use above define to set the condition of media filter and order keyword.
1083 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1086 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
1089 * @deprecated Deprecated since 4.0.
1090 * @brief Media content name.
1091 * @details You can use above define to set the condition of media filter and order keyword.
1092 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1095 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
1098 * @deprecated Deprecated since 4.0.
1099 * @brief Media category.
1100 * @details You can use above define to set the condition of media filter and order keyword.
1101 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1104 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1107 * @deprecated Deprecated since 4.0.
1108 * @brief Media location tag.
1109 * @details You can use above define to set the condition of media filter and order keyword.
1110 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1113 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1116 * @deprecated Deprecated since 4.0.
1117 * @brief Media age rating.
1118 * @details You can use above define to set the condition of media filter and order keyword.
1119 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1122 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1125 * @deprecated Deprecated since 4.0.
1126 * @brief Media keyword.
1127 * @details You can use above define to set the condition of media filter and order keyword.
1128 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1131 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1134 * @deprecated Deprecated since 4.0.
1135 * @brief Media weather.
1136 * @details You can use above define to set the condition of media filter and order keyword.
1137 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1140 #define MEDIA_WEATHER "MEDIA_WEATHER"
1144 * @details There are 2 types:\n
1145 * 0-not drm, 1-drm\n
1146 * You can use above define to set the condition of media filter and order keyword.
1147 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1150 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
1153 * @brief Media storage.
1154 * @details There are 2 types:\n
1155 * 0-internal storage, 1-external storage\n
1156 * 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_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1163 * @brief Media exposure time.
1164 * @details You can use above define to set the condition of media filter and order keyword.
1165 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1168 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1171 * @brief Media fnumber.
1172 * @details You can use above define to set the condition of media filter and order keyword.
1173 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1176 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1180 * @details You can use above define to set the condition of media filter and order keyword.
1181 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1184 #define MEDIA_ISO "MEDIA_ISO"
1187 * @brief Media model.
1188 * @details You can use above define to set the condition of media filter and order keyword.
1189 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1192 #define MEDIA_MODEL "MEDIA_MODEL"
1195 * @brief Media file name pinyin.
1196 * @details You can use above define to set the condition of media filter and order keyword.
1197 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1198 * @remarks Since 4.0, this keyword is related to the following feature:\n
1199 * - %http://tizen.org/feature/content.filter.pinyin\n
1200 * If this feature is not supported on the device, PINYIN search does not work.
1203 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1206 * @brief Media title pinyin.
1207 * @details You can use above define to set the condition of media filter and order keyword.
1208 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1209 * @remarks Since 4.0, this keyword is related to the following feature:\n
1210 * - %http://tizen.org/feature/content.filter.pinyin\n
1211 * If this feature is not supported on the device, PINYIN search does not work.
1214 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1217 * @brief Media album pinyin.
1218 * @details You can use above define to set the condition of media filter and order keyword.
1219 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1220 * @remarks Since 4.0, this keyword is related to the following feature:\n
1221 * - %http://tizen.org/feature/content.filter.pinyin\n
1222 * If this feature is not supported on the device, PINYIN search does not work.
1225 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1228 * @brief Media artist 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_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1239 * @brief Media album artist pinyin.
1240 * @details 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
1242 * @remarks Since 4.0, this keyword is related to the following feature:\n
1243 * - %http://tizen.org/feature/content.filter.pinyin\n
1244 * If this feature is not supported on the device, PINYIN search does not work.
1247 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1250 * @brief Media genre pinyin.
1251 * @details You can use above define to set the condition of media filter and order keyword.
1252 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1253 * @remarks Since 4.0, this keyword is related to the following feature:\n
1254 * - %http://tizen.org/feature/content.filter.pinyin\n
1255 * If this feature is not supported on the device, PINYIN search does not work.
1258 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1261 * @brief Media composer pinyin.
1262 * @details You can use above define to set the condition of media filter and order keyword.
1263 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1264 * @remarks Since 4.0, this keyword is related to the following feature:\n
1265 * - %http://tizen.org/feature/content.filter.pinyin\n
1266 * If this feature is not supported on the device, PINYIN search does not work.
1269 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1272 * @brief Media copyright pinyin.
1273 * @details You can use above define to set the condition of media filter and order keyword.
1274 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1275 * @remarks Since 4.0, this keyword is related to the following feature:\n
1276 * - %http://tizen.org/feature/content.filter.pinyin\n
1277 * If this feature is not supported on the device, PINYIN search does not work.
1280 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1283 * @brief Media description pinyin.
1284 * @details You can use above define to set the condition of media filter and order keyword.
1285 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1286 * @remarks Since 4.0, this keyword is related to the following feature:\n
1287 * - %http://tizen.org/feature/content.filter.pinyin\n
1288 * If this feature is not supported on the device, PINYIN search does not work.
1291 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1294 * @deprecated Deprecated since 4.0.
1295 * @brief Media author pinyin.
1296 * @details You can use above define to set the condition of media filter and order keyword.
1297 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1298 * @remarks Since 4.0, this keyword is related to the following feature:\n
1299 * - %http://tizen.org/feature/content.filter.pinyin\n
1300 * If this feature is not supported on the device, PINYIN search does not work.
1303 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1306 * @deprecated Deprecated since 4.0.
1307 * @brief Media provider pinyin.
1308 * @details You can use above define to set the condition of media filter and order keyword.
1309 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1310 * @remarks Since 4.0, this keyword is related to the following feature:\n
1311 * - %http://tizen.org/feature/content.filter.pinyin\n
1312 * If this feature is not supported on the device, PINYIN search does not work.
1315 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1318 * @deprecated Deprecated since 4.0.
1319 * @brief Media content name pinyin.
1320 * @details You can use above define to set the condition of media filter and order keyword.
1321 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1322 * @remarks Since 4.0, this keyword is related to the following feature:\n
1323 * - %http://tizen.org/feature/content.filter.pinyin\n
1324 * If this feature is not supported on the device, PINYIN search does not work.
1327 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1330 * @deprecated Deprecated since 4.0.
1331 * @brief Media category pinyin.
1332 * @details You can use above define to set the condition of media filter and order keyword.
1333 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1334 * @remarks Since 4.0, this keyword is related to the following feature:\n
1335 * - %http://tizen.org/feature/content.filter.pinyin\n
1336 * If this feature is not supported on the device, PINYIN search does not work.
1339 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1342 * @deprecated Deprecated since 4.0.
1343 * @brief Media location tag pinyin.
1344 * @details You can use above define to set the condition of media filter and order keyword.
1345 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1346 * @remarks Since 4.0, this keyword is related to the following feature:\n
1347 * - %http://tizen.org/feature/content.filter.pinyin\n
1348 * If this feature is not supported on the device, PINYIN search does not work.
1351 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1354 * @deprecated Deprecated since 4.0.
1355 * @brief Media age rating pinyin.
1356 * @details You can use above define to set the condition of media filter and order keyword.
1357 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1358 * @remarks Since 4.0, this keyword is related to the following feature:\n
1359 * - %http://tizen.org/feature/content.filter.pinyin\n
1360 * If this feature is not supported on the device, PINYIN search does not work.
1363 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1366 * @deprecated Deprecated since 4.0.
1367 * @brief Media keyword pinyin.
1368 * @details You can use above define to set the condition of media filter and order keyword.
1369 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1370 * @remarks Since 4.0, this keyword is related to the following feature:\n
1371 * - %http://tizen.org/feature/content.filter.pinyin\n
1372 * If this feature is not supported on the device, PINYIN search does not work.
1375 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1378 * @brief Virtual Reality content.
1379 * @details You can use above define to set the condition of media filter and order keyword.
1383 #define MEDIA_360 "MEDIA_360"
1387 * @details You can use above define to set the condition of folder filter and order keyword.
1388 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1390 #define FOLDER_ID "FOLDER_ID"
1393 * @brief Folder full path.
1394 * @details You can use above define to set the condition of folder filter and order keyword.
1395 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1397 #define FOLDER_PATH "FOLDER_PATH"
1400 * @brief Folder base name.
1401 * @details You can use above define to set the condition of folder filter and order keyword.
1402 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1404 #define FOLDER_NAME "FOLDER_NAME"
1407 * @deprecated Deprecated since 4.0.
1408 * @brief Folder modified time.
1409 * @details You can use above define to set the condition of folder filter and order keyword.
1410 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1412 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1415 * @brief Folder storage.
1416 * @details There are 2 types:\n
1417 * 0-internal storage, 1-external storage\n
1418 * You can use above define to set the condition of folder filter and order keyword.
1419 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1421 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1424 * @brief Folder base name pinyin.
1425 * @details You can use above define to set the condition of folder filter and order keyword.
1426 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1427 * @remarks Since 4.0, this keyword is related to the following feature:\n
1428 * - %http://tizen.org/feature/content.filter.pinyin\n
1429 * If this feature is not supported on the device, PINYIN search does not work.
1431 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1434 * @deprecated Deprecated since 4.0.
1435 * @brief Folder order info.
1436 * @details You can use above define to set the condition of folder filter and order keyword.
1437 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1439 #define FOLDER_ORDER "FOLDER_ORDER"
1442 * @deprecated Deprecated since 4.0.
1443 * @brief Parent folder id.
1444 * @details You can use above define to set the condition of folder filter and order keyword.
1445 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1447 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1450 * @brief Playlist name.
1451 * @details You can use above define to set the condition of playlist filter and order keyword.
1452 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1454 #define PLAYLIST_NAME "PLAYLIST_NAME"
1457 * @brief Playlist id.
1458 * @details You can use above define to set the condition of playlist filter and order keyword.
1461 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1464 * @brief Playlist member order.
1465 * @details You can use above define to set the condition of playlist filter and order keyword.
1466 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1468 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1471 * @brief Media count in playlist.
1472 * @details You can use above define to set the condition of playlist filter and order keyword.
1473 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1475 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1479 * @details You can use above define to set the condition of tag filter and order keyword.
1480 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1482 #define TAG_NAME "TAG_NAME"
1486 * @details You can use above define to set the condition of tag filter and order keyword.
1489 #define MEDIA_TAG_ID "TAG_ID"
1492 * @brief Media count in tag.
1493 * @details You can use above define to set the condition of tag filter and order keyword.
1494 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1496 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1499 * @brief Bookmark marked time.
1500 * @details You can use above define to set the condition of bookmark filter and order keyword.
1501 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1503 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1506 * @brief Bookmark id.
1507 * @details You can use above define to set the condition of bookmark filter and order keyword.
1510 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1513 * @brief Bookmark name.
1514 * @details You can use above define to set the condition of bookmark filter and order keyword.
1517 #define BOOKMARK_NAME "BOOKMARK_NAME"
1520 * @brief Storage ID.
1521 * @details You can use above define to set the condition of storage filter and order keyword.
1522 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1524 #define MEDIA_STORAGE_ID "STORAGE_ID"
1527 * @brief Storage path.
1528 * @details You can use above define to set the condition of storage filter and order keyword.
1529 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1531 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1535 * @details You can use above define to set the condition of face filter and order keyword.
1538 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1542 * @details You can use above define to set the condition of face filter and order keyword.
1545 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1554 #endif /* __cplusplus */
1557 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/