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 * @deprecated Deprecated since 5.0.
69 * @brief Enumeration for the storage type.
70 * @details This information is used to establish where the folder is.
71 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
74 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
75 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
76 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
77 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
78 } media_content_storage_e;
81 * @ingroup CAPI_MEDIA_CONTENT_MODULE
82 * @brief Enumeration for media content DB update items.
83 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
86 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
87 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
88 } media_content_db_update_item_type_e;
91 * @ingroup CAPI_MEDIA_CONTENT_MODULE
92 * @brief Enumeration for media content DB update types.
93 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
96 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
97 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
98 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
99 } media_content_db_update_type_e;
102 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
103 * @brief Enumeration for orientation types.
104 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
107 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
108 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
109 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
110 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
111 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
112 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
113 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
114 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
115 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
116 } media_content_orientation_e;
119 * @ingroup CAPI_MEDIA_CONTENT_MODULE
120 * @brief Enumeration for ordering.
121 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
124 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
125 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
126 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
127 } media_content_order_e;
130 * @ingroup CAPI_MEDIA_CONTENT_MODULE
131 * @brief Enumeration for collations.
132 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
135 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
136 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
137 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
138 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
139 } media_content_collation_e;
142 * @brief Error class.
143 * @details Class for Media Content error
144 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
147 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
150 * @ingroup CAPI_MEDIA_CONTENT_MODULE
151 * @brief Enumeration for a media content error.
152 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
155 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
156 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
157 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
158 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
159 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
160 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
161 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
162 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
163 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
164 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
165 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
166 } media_content_error_e;
169 * @ingroup CAPI_MEDIA_CONTENT_MODULE
170 * @brief Enumeration for a media group.
171 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
174 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
175 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
176 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
177 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
178 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
179 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
180 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
181 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
182 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
183 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
184 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
185 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
186 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
187 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
188 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
189 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
190 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
191 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
192 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
193 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot (Deprecated since 4.0)*/
194 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
195 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author (Deprecated since 4.0)*/
196 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider (Deprecated since 4.0)*/
197 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
198 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category (Deprecated since 4.0)*/
199 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag (Deprecated since 4.0)*/
200 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating (Deprecated since 4.0)*/
201 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
202 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather (Deprecated since 4.0)*/
203 MEDIA_CONTENT_GROUP_MODIFIED_MONTH, /**< Media group ID for the modified time*/
204 MEDIA_CONTENT_GROUP_MODIFIED_DATE, /**< Media group ID for the modified date*/
205 #ifdef _USE_SENIOR_MODE
206 MEDIA_CONTENT_GROUP_CONTACT,
208 MEDIA_CONTENT_GROUP_ALBUM,
209 MEDIA_CONTENT_GROUP_MAX, /**< Invalid media group ID*/
210 MEDIA_PVR_GROUP_DURATION,
211 MEDIA_PVR_GROUP_TIME_ZONE,
213 MEDIA_PVR_GROUP_MAJOR,
214 MEDIA_PVR_GROUP_MINOR,
215 MEDIA_PVR_GROUP_CHANNEL_TYPE,
216 MEDIA_PVR_GROUP_CHANNEL_NAME,
217 MEDIA_PVR_GROUP_CHANNEL_NUM,
218 MEDIA_PVR_GROUP_PROGRAM_TITLE,
219 MEDIA_PVR_GROUP_PROGRAM_NUM,
220 MEDIA_PVR_GROUP_PROGRAM_CRID,
221 MEDIA_PVR_GROUP_GUIDANCE,
222 MEDIA_PVR_GROUP_SYNOPSIS,
223 MEDIA_PVR_GROUP_GENRE,
224 MEDIA_PVR_GROUP_LANGUAGE,
225 MEDIA_PVR_GROUP_EMBARGO_TIME,
226 MEDIA_PVR_GROUP_EXPIRY_TIME,
227 MEDIA_PVR_GROUP_START_TIME,
228 MEDIA_PVR_GROUP_PROGRAM_START_TIME,
229 MEDIA_PVR_GROUP_PROGRAM_END_TIME,
230 MEDIA_PVR_GROUP_PROGRAM_DATE,
231 MEDIA_PVR_GROUP_PARENTAL_RATING,
232 MEDIA_PVR_GROUP_TIMER_RECORD,
233 MEDIA_PVR_GROUP_SERIES_RECORD,
235 MEDIA_PVR_GROUP_SUBTITLE,
238 MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
239 MEDIA_PVR_GROUP_DATA_SERVICE,
240 MEDIA_PVR_GROUP_CONTENT_LOCK,
241 MEDIA_PVR_GROUP_CONTENT_WATCH,
242 MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
243 MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
244 MEDIA_PVR_GROUP_RESOLUTION,
245 MEDIA_PVR_GROUP_ASPECTRATIO,
246 MEDIA_PVR_GROUP_MODIFIED_MONTH,
247 MEDIA_PVR_GROUP_MODIFIED_DATE,
248 MEDIA_PVR_GROUP_SPORTS_TYPE,
249 MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
250 MEDIA_PVR_GROUP_TVMODE,
251 MEDIA_PVR_GROUP_PLAY_COUNT,
252 MEDIA_PVR_GROUP_PRIVATE_DATA,
254 MEDIA_UHD_GROUP_CONTENT_TITLE,
255 MEDIA_UHD_GROUP_RELEASE_DATE,
256 MEDIA_UHD_GROUP_SUB_TYPE,
257 MEDIA_UHD_GROUP_FILE_NAME,
258 MEDIA_UHD_GROUP_PLAYED_COUNT,
264 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
265 * @brief The structure type for the Media info handle.
266 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
268 typedef struct media_info_s *media_info_h;
271 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
272 * @brief The structure type for the Media folder handle.
273 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
275 typedef struct media_folder_s *media_folder_h;
278 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
279 * @brief The structure type for the Media playlist handle.
280 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
282 typedef struct media_playlist_s *media_playlist_h;
285 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
286 * @brief The structure type for the Media tag handle.
287 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
289 typedef struct media_tag_s *media_tag_h;
292 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
293 * @brief The structure type for the Media bookmark handle.
294 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
296 typedef struct media_bookmark_s *media_bookmark_h;
299 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
300 * @brief The structure type for the Media album handle.
301 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
303 typedef struct media_album_s *media_album_h;
306 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
307 * @brief The structure type for the Image metadata handle.
308 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
310 typedef struct image_meta_s *image_meta_h;
313 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
314 * @brief The structure type for the Video metadata handle.
315 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
317 typedef struct video_meta_s *video_meta_h;
320 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
321 * @brief The structure type for the Audio metadata handle.
322 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
324 typedef struct audio_meta_s *audio_meta_h;
327 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
328 * @brief The structure type for the Media filter handle.
329 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
331 typedef struct filter_s *filter_h;
334 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
335 * @deprecated Deprecated since 5.0.
336 * @brief The structure type for the Media storage handle.
337 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
339 typedef void *media_storage_h;
342 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
343 * @brief The structure type for the Media face handle.
346 typedef void *media_face_h;
349 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
350 * @brief The structure type for the Media content noti handle.
353 typedef void *media_content_noti_h;
356 * @ingroup CAPI_MEDIA_CONTENT_MODULE
357 * @brief Called when the media scanning is finished.
358 * @details The following error codes can be received: \n
359 * #MEDIA_CONTENT_ERROR_NONE : Success \n
360 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
361 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
362 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
363 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
364 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
365 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
366 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
367 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
368 * @remarks The callback is called in a separate thread(not in the main loop).
370 * @param[in] error The error code
371 * @param[in] user_data The user data passed from the foreach function
373 * @pre media_content_scan_folder().
374 * @see media_content_scan_folder()
376 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
379 * @ingroup CAPI_MEDIA_CONTENT_MODULE
380 * @brief Called when the notification of the media DB change is subscribed.
381 * @details The following error codes can be received: \n
382 * #MEDIA_CONTENT_ERROR_NONE : Success \n
383 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
385 * @remarks The callback is called in a separate thread(not in the main loop).
387 * @param[in] error The error code
388 * @param[in] pid The PID which publishes notification
389 * @param[in] update_item The update item of notification
390 * @param[in] update_type The update type of notification
391 * @param[in] media_type The type of the media content (#media_content_type_e)
392 * @param[in] uuid The UUID of media or directory, which is updated
393 * @param[in] path The path of the media or directory
394 * @param[in] mime_type The MIME of the media info
395 * @param[in] user_data The user data passed from the foreach function
397 * @pre media_content_add_db_updated_cb().
398 * @see media_content_add_db_updated_cb()
400 typedef void (*media_content_db_update_cb)(
401 media_content_error_e error,
403 media_content_db_update_item_type_e update_item,
404 media_content_db_update_type_e update_type,
405 media_content_type_e media_type,
413 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
414 * @brief Called for every available media info.
415 * @details Iterates over a list of media info.
416 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
418 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
419 * The callback is called in the main loop.
421 * @param[in] media The handle to the media info
422 * @param[in] user_data The user data passed from the foreach function
424 * @return @c true to continue with the next iteration of the loop,
425 * otherwise @c false to break out of the loop
427 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
428 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
430 * @see media_info_clone()
431 * @see media_album_foreach_media_from_db()
432 * @see media_playlist_foreach_media_from_db()
433 * @see media_tag_foreach_media_from_db()
434 * @see media_info_foreach_media_from_db()
435 * @see media_folder_foreach_media_from_db()
437 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
441 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
442 * @brief Called when media items are inserted completely.
443 * @details The following error codes can be received: \n
444 * #MEDIA_CONTENT_ERROR_NONE : Success \n
445 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
446 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
447 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
448 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
449 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
450 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
451 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
452 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
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] error The error code
458 * @param[in] user_data The user data passed from the foreach function
460 * @pre media_info_insert_batch_to_db()
461 * @see media_info_insert_batch_to_db()
463 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
467 * @deprecated Deprecated since 4.0.
468 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
469 * @brief Called when the burst shot is inserted completely.
470 * @details The following error codes can be received: \n
471 * #MEDIA_CONTENT_ERROR_NONE : Success \n
472 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
473 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
474 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
475 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
476 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
477 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
478 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
479 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
481 * @remarks The callback is called in a separate thread(not in the main loop).
483 * @param[in] error The error code
484 * @param[in] user_data The user data passed from the foreach function
486 * @pre media_info_insert_burst_shot_to_db()
487 * @see media_info_insert_burst_shot_to_db()
490 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
494 * @deprecated Deprecated since 5.0.
495 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
496 * @brief Called when creating a thumbnail image.
497 * @details This callback is called for completion of generating the thumbnail image.
498 * The following error codes can be delivered. \n
499 * #MEDIA_CONTENT_ERROR_NONE, \n
500 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
501 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
502 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
503 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
504 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
505 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
507 * @remarks The callback is called in a separate thread(not in the main loop).
509 * @param[in] error The error code
510 * @param[in] path The path of the thumbnail which is generated
511 * @param[in] user_data The user data passed from the foreach function
513 * @pre media_info_create_thumbnail()
514 * @see media_info_create_thumbnail()
516 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
519 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
520 * @brief Called when face detection on the image is completed.
522 * @details The following error codes can be delivered. \n
523 * #MEDIA_CONTENT_ERROR_NONE, \n
524 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
525 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
526 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
527 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
528 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
532 * @remarks The callback is called in a separate thread(not in the main loop).
534 * @param[in] error The error code
535 * @param[in] face_count The number of all detected faces
536 * @param[in] user_data The user data passed from the foreach function
538 * @pre media_info_start_face_detection()
539 * @see media_info_start_face_detection()
541 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
545 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
546 * @brief Called for every available media folder.
547 * @details Iterates over a list of folders.
549 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
551 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
552 * The callback is called in the main loop.
554 * @param[in] folder The handle to the media folder
555 * @param[in] user_data The user data passed from the foreach function
557 * @return @c true to continue with the next iteration of the loop,
558 * otherwise @c false to break out of the loop
560 * @pre media_folder_foreach_folder_from_db() will invoke this function.
561 * @see media_folder_clone()
562 * @see media_folder_foreach_folder_from_db()
564 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
567 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
568 * @brief Called for every playlist in the obtained list of playlists.
569 * @details Iterates over a playlist list.
571 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
573 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
574 * The callback is called in the main loop.
576 * @param[in] playlist The handle to the media playlist
577 * @param[in] user_data The user data passed from the foreach function
579 * @return @c true to continue with the next iteration of the loop,
580 * otherwise @c false to break out of the loop
582 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
584 * @see media_playlist_clone()
585 * @see media_playlist_foreach_playlist_from_db()
587 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
590 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
591 * @brief Called for every media info with playlist member ID in the obtained list of media info.
592 * @details Iterates over playlist members.
594 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
596 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
597 * The callback is called in the main loop.
599 * @param[in] playlist_member_id The ID of the playlist member
600 * @param[in] media The handle to the media info
601 * @param[in] user_data The user data passed from the foreach function
603 * @return @c true to continue with the next iteration of the loop,
604 * otherwise @c false to break out of the loop
606 * @pre media_playlist_foreach_media_from_db() will invoke this function.
608 * @see media_info_clone()
609 * @see media_playlist_foreach_media_from_db()
611 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
614 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
615 * @brief Called for every tag in the obtained list of tags.
616 * @details Iterates over a list of tags.
618 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
620 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
621 * The callback is called in the main loop.
623 * @param[in] tag The handle to the media tag
624 * @param[in] user_data The user data passed from the foreach function
626 * @return @c true to continue with the next iteration of the loop,
627 * otherwise @c false to break out of the loop
629 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
631 * @see media_tag_clone()
632 * @see media_tag_foreach_tag_from_db()
633 * @see media_info_foreach_tag_from_db()
635 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
638 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
639 * @brief Called for every bookmark in the obtained list of bookmarks.
640 * @details Iterates over a bookmark list.
642 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
644 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
645 * The callback is called in the main loop.
647 * @param[in] bookmark The handle to the media bookmark
648 * @param[in] user_data The user data passed from the foreach function
650 * @return @c true to continue with the next iteration of the loop,
651 * otherwise @c false to break out of the loop
653 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
654 * @see media_info_foreach_bookmark_from_db()
656 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
659 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
660 * @brief Called for every album in the obtained list of groups.
661 * @details Iterates over an album list.
663 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
665 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
666 * The callback is called in the main loop.
668 * @param[in] album The handle to the media album
669 * @param[in] user_data The user data passed from the foreach function
671 * @return @c true to continue with the next iteration of the loop,
672 * otherwise @c false to break out of the loop
674 * @pre media_album_foreach_album_from_db() will invoke this function.
676 * @see media_album_clone()
677 * @see media_album_foreach_album_from_db()
679 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
682 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
683 * @brief Called for every group in the obtained list of groups.
684 * @details Iterates over a media group list.
686 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
688 * @remarks You should not free @a group_name returned by this function. \n
689 * The callback is called in the main loop.
691 * @param[in] group_name The name of the media group
692 * @param[in] user_data The user data passed from the foreach function
694 * @return @c true to continue with the next iteration of the loop,
695 * otherwise @c false to break out of the loop
697 * @pre media_group_foreach_group_from_db() will invoke this function.
698 * @see media_group_foreach_group_from_db()
700 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
703 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
704 * @deprecated Deprecated since 5.0.
705 * @brief Called for every storage in the obtained list of storages.
706 * @details Iterates over a media storage list.
708 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
710 * @remarks You should not destroy @a storage returned by this function. \n
711 * The callback is called in the main loop.
713 * @param[in] storage The handle of the media storage
714 * @param[in] user_data The user data passed from the foreach function
716 * @return @c true to continue with the next iteration of the loop,
717 * otherwise @c false to break out of the loop
719 * @pre media_storage_foreach_storage_from_db() will invoke this function.
720 * @see media_storage_foreach_storage_from_db()
722 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
725 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
726 * @brief Called for every face in the obtained list of face.
727 * @details Iterates over a media face list.
731 * @remarks You should not destroy @a face returned by this function. \n
732 * The callback is called in the main loop.
734 * @param[in] face The handle of the media face
735 * @param[in] user_data The user data passed from the foreach function
737 * @return @c true to continue with the next iteration of the loop,
738 * otherwise @c false to break out of the loop
740 * @pre media_info_foreach_face_from_db() will invoke this function.
741 * @see media_info_foreach_face_from_db()
743 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
750 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
756 * @details You can use above define to set the condition of media filter and order keyword.
757 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
760 #define MEDIA_ID "MEDIA_ID"
763 * @brief Media full path.
764 * @details You can use above define to set the condition of media filter and order keyword.
765 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
768 #define MEDIA_PATH "MEDIA_PATH"
771 * @brief The file name including the extension.
772 * @details 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_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
780 * @details There are 5 media types:\n
781 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
782 * You can use above define to set the condition of media filter and order keyword.
783 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
786 #define MEDIA_TYPE "MEDIA_TYPE"
789 * @brief Media MIME type.
790 * @details You can use above define to set the condition of media filter and order keyword.
791 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
794 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
798 * @brief Media file size.
799 * @details You can use above define to set the condition of media filter and order keyword.
800 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
803 #define MEDIA_SIZE "MEDIA_SIZE"
806 * @brief The time that content file was first added to media database.
807 * @details You can use above define to set the condition of media filter and order keyword.
808 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
811 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
814 * @brief The last modification time provided by the file system.
815 * @details 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_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
822 * @brief Media created time.
823 * @details You can use above define to set the condition of media filter and order keyword.
824 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
827 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
830 * @brief Media thumbnail path.
831 * @details You can use above define to set the condition of media filter and order keyword.
832 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
835 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
838 * @brief Media title get from tag or file name.
839 * @details You can use above define to set the condition of media filter and order keyword.
840 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
843 #define MEDIA_TITLE "MEDIA_TITLE"
846 * @brief Media album name.
847 * @details You can use above define to set the condition of media filter and order keyword.
848 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
851 #define MEDIA_ALBUM "MEDIA_ALBUM"
854 * @brief Media artist.
855 * @details You can use above define to set the condition of media filter and order keyword.
856 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
859 #define MEDIA_ARTIST "MEDIA_ARTIST"
862 * @brief Media album artist.
863 * @details You can use above define to set the condition of media filter and order keyword.
864 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
867 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
870 * @brief Media genre.
871 * @details You can use above define to set the condition of media filter and order keyword.
872 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
875 #define MEDIA_GENRE "MEDIA_GENRE"
878 * @brief Media composer.
879 * @details You can use above define to set the condition of media filter and order keyword.
880 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
883 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
887 * @details 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"
894 * @brief Media recorded date.
895 * @details You can use above define to set the condition of media filter and order keyword.
896 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
899 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
902 * @brief Media copyright.
903 * @details You can use above define to set the condition of media filter and order keyword.
904 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
907 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
910 * @brief Media track number.
911 * @details You can use above define to set the condition of media filter and order keyword.
912 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
915 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
918 * @brief Media description.
919 * @details You can use above define to set the condition of media filter and order keyword.
920 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
923 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
926 * @brief Media bitrate.
927 * @details You can use above define to set the condition of media filter and order keyword.
928 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
931 #define MEDIA_BITRATE "MEDIA_BITRATE"
934 * @brief Media bit per sample.
935 * @details You can use above define to set the condition of media filter and order keyword.
936 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
939 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
942 * @brief Media sample rate.
943 * @details 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_SAMPLERATE "MEDIA_SAMPLERATE"
950 * @brief Media channel.
951 * @details You can use above define to set the condition of media filter and order keyword.
952 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
955 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
958 * @brief Media duration.
959 * @details You can use above define to set the condition of media filter and order keyword.
960 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
963 #define MEDIA_DURATION "MEDIA_DURATION"
966 * @brief Media longitude.
967 * @details You can use above define to set the condition of media filter and order keyword.
968 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
971 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
974 * @brief Media latitude.
975 * @details You can use above define to set the condition of media filter and order keyword.
976 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
979 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
982 * @brief Media altitude.
983 * @details You can use above define to set the condition of media filter and order keyword.
984 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
987 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
990 * @brief Media width.
991 * @details You can use above define to set the condition of media filter and order keyword.
992 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
995 #define MEDIA_WIDTH "MEDIA_WIDTH"
998 * @brief Media height.
999 * @details 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_HEIGHT "MEDIA_HEIGHT"
1006 * @brief Media datetaken.
1007 * @details You can use above define to set the condition of media filter and order keyword.
1008 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1011 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
1014 * @brief Media orientation.
1015 * @details You can use above define to set the condition of media filter and order keyword.
1016 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1019 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
1022 * @deprecated Deprecated since 4.0.
1023 * @brief Media burst ID.
1024 * @details You can use above define to set the condition of media filter and order keyword.
1025 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1028 #define MEDIA_BURST_ID "BURST_ID"
1031 * @deprecated Deprecated since 4.0.
1032 * @brief Media playedcount.
1033 * @details You can use above define to set the condition of media filter and order keyword.
1034 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1037 #define MEDIA_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
1040 * @deprecated Deprecated since 4.0.
1041 * @brief Media last played time.
1042 * @details You can use above define to set the condition of media filter and order keyword.
1043 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1046 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
1049 * @deprecated Deprecated since 4.0.
1050 * @brief Media last played position of file.
1051 * @details You can use above define to set the condition of media filter and order keyword.
1052 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1055 #define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
1058 * @brief Media rating.
1059 * @details You can use above define to set the condition of media filter and order keyword.
1060 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1063 #define MEDIA_RATING "MEDIA_RATING"
1066 * @brief The time to register favourite.
1067 * @details You can use above define to set the condition of media filter and order keyword.
1068 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1071 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1074 * @deprecated Deprecated since 4.0.
1075 * @brief Media author.
1076 * @details 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_AUTHOR "MEDIA_AUTHOR"
1083 * @deprecated Deprecated since 4.0.
1084 * @brief Media provider.
1085 * @details You can use above define to set the condition of media filter and order keyword.
1086 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1089 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
1092 * @deprecated Deprecated since 4.0.
1093 * @brief Media content name.
1094 * @details You can use above define to set the condition of media filter and order keyword.
1095 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1098 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
1101 * @deprecated Deprecated since 4.0.
1102 * @brief Media category.
1103 * @details You can use above define to set the condition of media filter and order keyword.
1104 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1107 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1110 * @deprecated Deprecated since 4.0.
1111 * @brief Media location tag.
1112 * @details You can use above define to set the condition of media filter and order keyword.
1113 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1116 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1119 * @deprecated Deprecated since 4.0.
1120 * @brief Media age rating.
1121 * @details You can use above define to set the condition of media filter and order keyword.
1122 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1125 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1128 * @deprecated Deprecated since 4.0.
1129 * @brief Media keyword.
1130 * @details You can use above define to set the condition of media filter and order keyword.
1131 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1134 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1137 * @deprecated Deprecated since 4.0.
1138 * @brief Media weather.
1139 * @details You can use above define to set the condition of media filter and order keyword.
1140 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1143 #define MEDIA_WEATHER "MEDIA_WEATHER"
1147 * @details There are 2 types:\n
1148 * 0-not drm, 1-drm\n
1149 * 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_IS_DRM "MEDIA_IS_DRM"
1156 * @deprecated Deprecated since 5.0.
1157 * @brief Media storage.
1158 * @details There are 2 types:\n
1159 * 0-internal storage, 1-external storage\n
1160 * You can use above define to set the condition of media filter and order keyword.
1161 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1164 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1167 * @brief Media exposure time.
1168 * @details You can use above define to set the condition of media filter and order keyword.
1169 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1172 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1175 * @brief Media fnumber.
1176 * @details You can use above define to set the condition of media filter and order keyword.
1177 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1180 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1184 * @details You can use above define to set the condition of media filter and order keyword.
1185 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1188 #define MEDIA_ISO "MEDIA_ISO"
1191 * @brief Media model.
1192 * @details You can use above define to set the condition of media filter and order keyword.
1193 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1196 #define MEDIA_MODEL "MEDIA_MODEL"
1199 * @brief Media file name pinyin.
1200 * @details You can use above define to set the condition of media filter and order keyword.
1201 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1202 * @remarks Since 4.0, this keyword is related to the following feature:\n
1203 * - %http://tizen.org/feature/content.filter.pinyin\n
1204 * If this feature is not supported on the device, PINYIN search does not work.
1207 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1210 * @brief Media title pinyin.
1211 * @details You can use above define to set the condition of media filter and order keyword.
1212 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1213 * @remarks Since 4.0, this keyword is related to the following feature:\n
1214 * - %http://tizen.org/feature/content.filter.pinyin\n
1215 * If this feature is not supported on the device, PINYIN search does not work.
1218 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1221 * @brief Media album pinyin.
1222 * @details You can use above define to set the condition of media filter and order keyword.
1223 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1224 * @remarks Since 4.0, this keyword is related to the following feature:\n
1225 * - %http://tizen.org/feature/content.filter.pinyin\n
1226 * If this feature is not supported on the device, PINYIN search does not work.
1229 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1232 * @brief Media artist pinyin.
1233 * @details 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
1235 * @remarks Since 4.0, this keyword is related to the following feature:\n
1236 * - %http://tizen.org/feature/content.filter.pinyin\n
1237 * If this feature is not supported on the device, PINYIN search does not work.
1240 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1243 * @brief Media album artist pinyin.
1244 * @details You can use above define to set the condition of media filter and order keyword.
1245 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1246 * @remarks Since 4.0, this keyword is related to the following feature:\n
1247 * - %http://tizen.org/feature/content.filter.pinyin\n
1248 * If this feature is not supported on the device, PINYIN search does not work.
1251 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1254 * @brief Media genre pinyin.
1255 * @details You can use above define to set the condition of media filter and order keyword.
1256 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1257 * @remarks Since 4.0, this keyword is related to the following feature:\n
1258 * - %http://tizen.org/feature/content.filter.pinyin\n
1259 * If this feature is not supported on the device, PINYIN search does not work.
1262 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1265 * @brief Media composer pinyin.
1266 * @details You can use above define to set the condition of media filter and order keyword.
1267 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1268 * @remarks Since 4.0, this keyword is related to the following feature:\n
1269 * - %http://tizen.org/feature/content.filter.pinyin\n
1270 * If this feature is not supported on the device, PINYIN search does not work.
1273 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1276 * @brief Media copyright pinyin.
1277 * @details You can use above define to set the condition of media filter and order keyword.
1278 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1279 * @remarks Since 4.0, this keyword is related to the following feature:\n
1280 * - %http://tizen.org/feature/content.filter.pinyin\n
1281 * If this feature is not supported on the device, PINYIN search does not work.
1284 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1287 * @brief Media description pinyin.
1288 * @details You can use above define to set the condition of media filter and order keyword.
1289 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1290 * @remarks Since 4.0, this keyword is related to the following feature:\n
1291 * - %http://tizen.org/feature/content.filter.pinyin\n
1292 * If this feature is not supported on the device, PINYIN search does not work.
1295 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1298 * @deprecated Deprecated since 4.0.
1299 * @brief Media author pinyin.
1300 * @details You can use above define to set the condition of media filter and order keyword.
1301 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1302 * @remarks Since 4.0, this keyword is related to the following feature:\n
1303 * - %http://tizen.org/feature/content.filter.pinyin\n
1304 * If this feature is not supported on the device, PINYIN search does not work.
1307 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1310 * @deprecated Deprecated since 4.0.
1311 * @brief Media provider pinyin.
1312 * @details You can use above define to set the condition of media filter and order keyword.
1313 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1314 * @remarks Since 4.0, this keyword is related to the following feature:\n
1315 * - %http://tizen.org/feature/content.filter.pinyin\n
1316 * If this feature is not supported on the device, PINYIN search does not work.
1319 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1322 * @deprecated Deprecated since 4.0.
1323 * @brief Media content name pinyin.
1324 * @details You can use above define to set the condition of media filter and order keyword.
1325 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1326 * @remarks Since 4.0, this keyword is related to the following feature:\n
1327 * - %http://tizen.org/feature/content.filter.pinyin\n
1328 * If this feature is not supported on the device, PINYIN search does not work.
1331 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1334 * @deprecated Deprecated since 4.0.
1335 * @brief Media category pinyin.
1336 * @details You can use above define to set the condition of media filter and order keyword.
1337 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1338 * @remarks Since 4.0, this keyword is related to the following feature:\n
1339 * - %http://tizen.org/feature/content.filter.pinyin\n
1340 * If this feature is not supported on the device, PINYIN search does not work.
1343 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1346 * @deprecated Deprecated since 4.0.
1347 * @brief Media location tag pinyin.
1348 * @details You can use above define to set the condition of media filter and order keyword.
1349 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1350 * @remarks Since 4.0, this keyword is related to the following feature:\n
1351 * - %http://tizen.org/feature/content.filter.pinyin\n
1352 * If this feature is not supported on the device, PINYIN search does not work.
1355 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1358 * @deprecated Deprecated since 4.0.
1359 * @brief Media age rating pinyin.
1360 * @details You can use above define to set the condition of media filter and order keyword.
1361 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1362 * @remarks Since 4.0, this keyword is related to the following feature:\n
1363 * - %http://tizen.org/feature/content.filter.pinyin\n
1364 * If this feature is not supported on the device, PINYIN search does not work.
1367 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1370 * @deprecated Deprecated since 4.0.
1371 * @brief Media keyword pinyin.
1372 * @details You can use above define to set the condition of media filter and order keyword.
1373 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1374 * @remarks Since 4.0, this keyword is related to the following feature:\n
1375 * - %http://tizen.org/feature/content.filter.pinyin\n
1376 * If this feature is not supported on the device, PINYIN search does not work.
1379 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1382 * @brief Virtual Reality content.
1383 * @details You can use above define to set the condition of media filter and order keyword.
1387 #define MEDIA_360 "MEDIA_360"
1391 * @details You can use above define to set the condition of folder filter and order keyword.
1392 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1394 #define FOLDER_ID "FOLDER_ID"
1397 * @brief Folder full path.
1398 * @details You can use above define to set the condition of folder filter and order keyword.
1399 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1401 #define FOLDER_PATH "FOLDER_PATH"
1404 * @brief Folder base name.
1405 * @details You can use above define to set the condition of folder filter and order keyword.
1406 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1408 #define FOLDER_NAME "FOLDER_NAME"
1411 * @deprecated Deprecated since 4.0.
1412 * @brief Folder modified time.
1413 * @details You can use above define to set the condition of folder filter and order keyword.
1414 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1416 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1419 * @deprecated Deprecated since 5.0.
1420 * @brief Folder storage.
1421 * @details There are 2 types:\n
1422 * 0-internal storage, 1-external storage\n
1423 * You can use above define to set the condition of folder filter and order keyword.
1424 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1426 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1429 * @brief Folder base name pinyin.
1430 * @details You can use above define to set the condition of folder filter and order keyword.
1431 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1432 * @remarks Since 4.0, this keyword is related to the following feature:\n
1433 * - %http://tizen.org/feature/content.filter.pinyin\n
1434 * If this feature is not supported on the device, PINYIN search does not work.
1436 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1439 * @deprecated Deprecated since 4.0.
1440 * @brief Folder order info.
1441 * @details You can use above define to set the condition of folder filter and order keyword.
1442 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1444 #define FOLDER_ORDER "FOLDER_ORDER"
1447 * @deprecated Deprecated since 4.0.
1448 * @brief Parent folder id.
1449 * @details You can use above define to set the condition of folder filter and order keyword.
1450 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1452 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1455 * @brief Playlist name.
1456 * @details You can use above define to set the condition of playlist filter and order keyword.
1457 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1459 #define PLAYLIST_NAME "PLAYLIST_NAME"
1462 * @brief Playlist id.
1463 * @details You can use above define to set the condition of playlist filter and order keyword.
1466 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1469 * @brief Playlist member order.
1470 * @details You can use above define to set the condition of playlist filter and order keyword.
1471 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1473 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1476 * @brief Media count in playlist.
1477 * @details You can use above define to set the condition of playlist filter and order keyword.
1478 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1480 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1484 * @details You can use above define to set the condition of tag filter and order keyword.
1485 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1487 #define TAG_NAME "TAG_NAME"
1491 * @details You can use above define to set the condition of tag filter and order keyword.
1494 #define MEDIA_TAG_ID "TAG_ID"
1497 * @brief Media count in tag.
1498 * @details You can use above define to set the condition of tag filter and order keyword.
1499 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1501 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1504 * @brief Bookmark marked time.
1505 * @details You can use above define to set the condition of bookmark filter and order keyword.
1506 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1508 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1511 * @brief Bookmark id.
1512 * @details You can use above define to set the condition of bookmark filter and order keyword.
1515 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1518 * @brief Bookmark name.
1519 * @details You can use above define to set the condition of bookmark filter and order keyword.
1522 #define BOOKMARK_NAME "BOOKMARK_NAME"
1525 * @deprecated Deprecated since 5.0.
1526 * @brief Storage ID.
1527 * @details You can use above define to set the condition of storage filter and order keyword.
1528 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1530 #define MEDIA_STORAGE_ID "STORAGE_ID"
1533 * @deprecated Deprecated since 5.0.
1534 * @brief Storage path.
1535 * @details You can use above define to set the condition of storage filter and order keyword.
1536 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1538 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1542 * @details You can use above define to set the condition of face filter and order keyword.
1545 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1549 * @details You can use above define to set the condition of face filter and order keyword.
1552 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1561 #endif /* __cplusplus */
1564 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/