2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 * @file media_content_type.h
30 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
31 * classes of errors and definitions of media-data. \n
32 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
33 * when media items are inserted completely and when notification of media DB change is subscribed.
37 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
42 * @ingroup CAPI_MEDIA_CONTENT_MODULE
43 * @brief Enumeration for the media file format.
44 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
45 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
46 * %http://tizen.org/feature/content.scanning.others\n
47 * If this feature is not supported on the device, #MEDIA_CONTENT_TYPE_OTHERS type file is not scanned.
50 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
51 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
52 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
53 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
54 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
55 MEDIA_CONTENT_TYPE_PVR = 5, /**<The type of PVR */
56 MEDIA_CONTENT_TYPE_UHD = 6, /**<The type of UHD */
57 MEDIA_CONTENT_TYPE_SCSA = 7, /**<The type of SCSA */
58 } media_content_type_e;
61 * @ingroup CAPI_MEDIA_CONTENT_MODULE
62 * @deprecated Deprecated since 5.0.
63 * @brief Enumeration for the storage type.
64 * @details This information is used to establish where the folder is.
65 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
68 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
69 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
70 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
71 } media_content_storage_e;
74 * @ingroup CAPI_MEDIA_CONTENT_MODULE
75 * @brief Enumeration for media content DB update items.
76 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
79 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
80 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
81 } media_content_db_update_item_type_e;
84 * @ingroup CAPI_MEDIA_CONTENT_MODULE
85 * @brief Enumeration for media content DB update types.
86 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
89 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
90 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
91 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
92 } media_content_db_update_type_e;
95 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
96 * @brief Enumeration for orientation types.
97 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
100 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
101 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
102 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
103 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
104 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
105 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
106 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
107 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
108 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
109 } media_content_orientation_e;
112 * @ingroup CAPI_MEDIA_CONTENT_MODULE
113 * @brief Enumeration for ordering.
114 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
117 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
118 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
119 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
120 } media_content_order_e;
123 * @ingroup CAPI_MEDIA_CONTENT_MODULE
124 * @brief Enumeration for collations.
125 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
128 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
129 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
130 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
131 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
132 } media_content_collation_e;
135 * @brief Error class.
136 * @details Class for Media Content error
137 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
140 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
143 * @ingroup CAPI_MEDIA_CONTENT_MODULE
144 * @brief Enumeration for a media content error.
145 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
148 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
149 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
150 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
151 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
152 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
153 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
154 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
155 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
156 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
157 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
158 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
159 } media_content_error_e;
162 * @ingroup CAPI_MEDIA_CONTENT_MODULE
163 * @brief Enumeration for a media group.
164 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
167 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
168 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
169 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
170 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
171 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
172 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
173 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
174 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
175 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
176 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
177 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
178 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
179 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
180 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
181 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
182 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
183 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
184 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
185 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
186 MEDIA_CONTENT_GROUP_RATING = 20, /**< Media group ID for a rating*/
187 MEDIA_CONTENT_GROUP_MODIFIED_MONTH = 29, /**< Media group ID for the modified time*/
188 MEDIA_CONTENT_GROUP_MODIFIED_DATE, /**< Media group ID for the modified date*/
189 MEDIA_CONTENT_GROUP_ALBUM,
190 MEDIA_CONTENT_GROUP_MAX, /**< Invalid media group ID*/
191 MEDIA_PVR_GROUP_DURATION,
192 MEDIA_PVR_GROUP_TIME_ZONE,
194 MEDIA_PVR_GROUP_MAJOR,
195 MEDIA_PVR_GROUP_MINOR,
196 MEDIA_PVR_GROUP_CHANNEL_TYPE,
197 MEDIA_PVR_GROUP_CHANNEL_NAME,
198 MEDIA_PVR_GROUP_CHANNEL_NUM,
199 MEDIA_PVR_GROUP_PROGRAM_TITLE,
200 MEDIA_PVR_GROUP_PROGRAM_NUM,
201 MEDIA_PVR_GROUP_PROGRAM_CRID,
202 MEDIA_PVR_GROUP_GUIDANCE,
203 MEDIA_PVR_GROUP_SYNOPSIS,
204 MEDIA_PVR_GROUP_GENRE,
205 MEDIA_PVR_GROUP_LANGUAGE,
206 MEDIA_PVR_GROUP_EMBARGO_TIME,
207 MEDIA_PVR_GROUP_EXPIRY_TIME,
208 MEDIA_PVR_GROUP_START_TIME,
209 MEDIA_PVR_GROUP_PROGRAM_START_TIME,
210 MEDIA_PVR_GROUP_PROGRAM_END_TIME,
211 MEDIA_PVR_GROUP_PROGRAM_DATE,
212 MEDIA_PVR_GROUP_PARENTAL_RATING,
213 MEDIA_PVR_GROUP_TIMER_RECORD,
214 MEDIA_PVR_GROUP_SERIES_RECORD,
216 MEDIA_PVR_GROUP_SUBTITLE,
219 MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
220 MEDIA_PVR_GROUP_DATA_SERVICE,
221 MEDIA_PVR_GROUP_CONTENT_LOCK,
222 MEDIA_PVR_GROUP_CONTENT_WATCH,
223 MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
224 MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
225 MEDIA_PVR_GROUP_RESOLUTION,
226 MEDIA_PVR_GROUP_ASPECTRATIO,
227 MEDIA_PVR_GROUP_MODIFIED_MONTH,
228 MEDIA_PVR_GROUP_MODIFIED_DATE,
229 MEDIA_PVR_GROUP_SPORTS_TYPE,
230 MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
231 MEDIA_PVR_GROUP_TVMODE,
232 MEDIA_PVR_GROUP_PLAY_COUNT,
233 MEDIA_PVR_GROUP_PRIVATE_DATA,
235 MEDIA_UHD_GROUP_CONTENT_TITLE,
236 MEDIA_UHD_GROUP_RELEASE_DATE,
237 MEDIA_UHD_GROUP_SUB_TYPE,
238 MEDIA_UHD_GROUP_FILE_NAME,
239 MEDIA_UHD_GROUP_PLAYED_COUNT,
245 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
246 * @brief The structure type for the Media info handle.
247 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
249 typedef struct media_info_s *media_info_h;
252 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
253 * @brief The structure type for the Media folder handle.
254 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
256 typedef struct media_folder_s *media_folder_h;
259 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
260 * @brief The structure type for the Media playlist handle.
261 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
263 typedef struct media_playlist_s *media_playlist_h;
266 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
267 * @brief The structure type for the Media tag handle.
268 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
270 typedef struct media_tag_s *media_tag_h;
273 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
274 * @brief The structure type for the Media bookmark handle.
275 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
277 typedef struct media_bookmark_s *media_bookmark_h;
280 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
281 * @brief The structure type for the Media album handle.
282 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
284 typedef struct media_album_s *media_album_h;
287 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_META_MODULE
288 * @brief The structure type for the Image metadata handle.
289 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
291 typedef struct image_meta_s *image_meta_h;
294 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
295 * @brief The structure type for the Video metadata handle.
296 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
298 typedef struct video_meta_s *video_meta_h;
301 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
302 * @brief The structure type for the Audio metadata handle.
303 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
305 typedef struct audio_meta_s *audio_meta_h;
308 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
309 * @brief The structure type for the Media filter handle.
310 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
312 typedef struct filter_s *filter_h;
315 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
316 * @deprecated Deprecated since 5.0.
317 * @brief The structure type for the Media storage handle.
318 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
320 typedef void *media_storage_h;
323 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
324 * @brief The structure type for the Media face handle.
327 typedef void *media_face_h;
330 * @ingroup CAPI_MEDIA_CONTENT_MODULE
331 * @brief The structure type for the Media content noti handle.
334 typedef void *media_content_noti_h;
337 * @ingroup CAPI_MEDIA_CONTENT_MODULE
338 * @brief Called when the media scanning is finished.
339 * @details The following error codes can be received: \n
340 * #MEDIA_CONTENT_ERROR_NONE : Success \n
341 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
342 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
343 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
344 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
345 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
346 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
347 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
348 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
349 * @remarks The callback is called in a separate thread(not in the main loop).
351 * @param[in] error The error code
352 * @param[in] user_data The user data passed from the foreach function
354 * @pre media_content_scan_folder().
355 * @see media_content_scan_folder()
357 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
360 * @ingroup CAPI_MEDIA_CONTENT_MODULE
361 * @brief Called when the notification of the media DB change is subscribed.
362 * @details The following error codes can be received: \n
363 * #MEDIA_CONTENT_ERROR_NONE : Success \n
364 * @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] pid The PID which publishes notification
370 * @param[in] update_item The update item of notification
371 * @param[in] update_type The update type of notification
372 * @param[in] media_type The type of the media content (#media_content_type_e)
373 * @param[in] uuid The UUID of media or directory, which is updated
374 * @param[in] path The path of the media or directory
375 * @param[in] mime_type The MIME of the media info
376 * @param[in] user_data The user data passed from the foreach function
378 * @pre media_content_add_db_updated_cb().
379 * @see media_content_add_db_updated_cb()
381 typedef void (*media_content_db_update_cb)(
382 media_content_error_e error,
384 media_content_db_update_item_type_e update_item,
385 media_content_db_update_type_e update_type,
386 media_content_type_e media_type,
394 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
395 * @brief Called for every available media info.
396 * @details Iterates over a list of media info.
397 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
399 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
400 * The callback is called in the main loop.
402 * @param[in] media The handle to the media info
403 * @param[in] user_data The user data passed from the foreach function
405 * @return @c true to continue with the next iteration of the loop,
406 * otherwise @c false to break out of the loop
408 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
409 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
411 * @see media_info_clone()
412 * @see media_album_foreach_media_from_db()
413 * @see media_playlist_foreach_media_from_db()
414 * @see media_tag_foreach_media_from_db()
415 * @see media_info_foreach_media_from_db()
416 * @see media_folder_foreach_media_from_db()
418 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
422 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
423 * @brief Called when media items are inserted completely.
424 * @details The following error codes can be received: \n
425 * #MEDIA_CONTENT_ERROR_NONE : Success \n
426 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
427 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
428 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
429 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
430 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
431 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
432 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
433 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
434 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
436 * @remarks The callback is called in a separate thread(not in the main loop).
438 * @param[in] error The error code
439 * @param[in] user_data The user data passed from the foreach function
441 * @pre media_info_insert_batch_to_db()
442 * @see media_info_insert_batch_to_db()
444 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
448 * @deprecated Deprecated since 5.0.
449 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
450 * @brief Called when creating a thumbnail image.
451 * @details This callback is called for completion of generating the thumbnail image.
452 * The following error codes can be delivered. \n
453 * #MEDIA_CONTENT_ERROR_NONE, \n
454 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
455 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
456 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
457 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
458 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
459 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
461 * @remarks The callback is called in a separate thread(not in the main loop).
463 * @param[in] error The error code
464 * @param[in] path The path of the thumbnail which is generated
465 * @param[in] user_data The user data passed from the foreach function
467 * @pre media_info_create_thumbnail()
468 * @see media_info_create_thumbnail()
470 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
473 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
474 * @brief Called when face detection on the image is completed.
476 * @details The following error codes can be delivered. \n
477 * #MEDIA_CONTENT_ERROR_NONE, \n
478 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
479 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
480 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
481 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
482 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
486 * @remarks The callback is called in a separate thread(not in the main loop).
488 * @param[in] error The error code
489 * @param[in] face_count The number of all detected faces
490 * @param[in] user_data The user data passed from the foreach function
492 * @pre media_info_start_face_detection()
493 * @see media_info_start_face_detection()
495 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
499 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
500 * @brief Called for every available media folder.
501 * @details Iterates over a list of folders.
503 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
505 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
506 * The callback is called in the main loop.
508 * @param[in] folder The handle to the media folder
509 * @param[in] user_data The user data passed from the foreach function
511 * @return @c true to continue with the next iteration of the loop,
512 * otherwise @c false to break out of the loop
514 * @pre media_folder_foreach_folder_from_db() will invoke this function.
515 * @see media_folder_clone()
516 * @see media_folder_foreach_folder_from_db()
518 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
521 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
522 * @brief Called for every playlist in the obtained list of playlists.
523 * @details Iterates over a playlist list.
525 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
527 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
528 * The callback is called in the main loop.
530 * @param[in] playlist The handle to the media playlist
531 * @param[in] user_data The user data passed from the foreach function
533 * @return @c true to continue with the next iteration of the loop,
534 * otherwise @c false to break out of the loop
536 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
538 * @see media_playlist_clone()
539 * @see media_playlist_foreach_playlist_from_db()
541 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
544 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
545 * @brief Called for every media info with playlist member ID in the obtained list of media info.
546 * @details Iterates over playlist members.
548 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
550 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
551 * The callback is called in the main loop.
553 * @param[in] playlist_member_id The ID of the playlist member
554 * @param[in] media The handle to the media info
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_playlist_foreach_media_from_db() will invoke this function.
562 * @see media_info_clone()
563 * @see media_playlist_foreach_media_from_db()
565 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
568 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
569 * @brief Called for every tag in the obtained list of tags.
570 * @details Iterates over a list of tags.
572 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
574 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
575 * The callback is called in the main loop.
577 * @param[in] tag The handle to the media tag
578 * @param[in] user_data The user data passed from the foreach function
580 * @return @c true to continue with the next iteration of the loop,
581 * otherwise @c false to break out of the loop
583 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
585 * @see media_tag_clone()
586 * @see media_tag_foreach_tag_from_db()
587 * @see media_info_foreach_tag_from_db()
589 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
592 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
593 * @brief Called for every bookmark in the obtained list of bookmarks.
594 * @details Iterates over a bookmark list.
596 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
598 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
599 * The callback is called in the main loop.
601 * @param[in] bookmark The handle to the media bookmark
602 * @param[in] user_data The user data passed from the foreach function
604 * @return @c true to continue with the next iteration of the loop,
605 * otherwise @c false to break out of the loop
607 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
608 * @see media_info_foreach_bookmark_from_db()
610 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
613 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
614 * @brief Called for every album in the obtained list of groups.
615 * @details Iterates over an album list.
617 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
619 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
620 * The callback is called in the main loop.
622 * @param[in] album The handle to the media album
623 * @param[in] user_data The user data passed from the foreach function
625 * @return @c true to continue with the next iteration of the loop,
626 * otherwise @c false to break out of the loop
628 * @pre media_album_foreach_album_from_db() will invoke this function.
630 * @see media_album_clone()
631 * @see media_album_foreach_album_from_db()
633 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
636 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
637 * @brief Called for every group in the obtained list of groups.
638 * @details Iterates over a media group list.
640 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
642 * @remarks You should not free @a group_name returned by this function. \n
643 * The callback is called in the main loop.
645 * @param[in] group_name The name of the media group
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_group_foreach_group_from_db() will invoke this function.
652 * @see media_group_foreach_group_from_db()
654 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
657 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
658 * @deprecated Deprecated since 5.0.
659 * @brief Called for every storage in the obtained list of storages.
660 * @details Iterates over a media storage list.
662 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
664 * @remarks You should not destroy @a storage returned by this function. \n
665 * The callback is called in the main loop.
667 * @param[in] storage The handle of the media storage
668 * @param[in] user_data The user data passed from the foreach function
670 * @return @c true to continue with the next iteration of the loop,
671 * otherwise @c false to break out of the loop
673 * @pre media_storage_foreach_storage_from_db() will invoke this function.
674 * @see media_storage_foreach_storage_from_db()
676 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
679 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
680 * @brief Called for every face in the obtained list of face.
681 * @details Iterates over a media face list.
685 * @remarks You should not destroy @a face returned by this function. \n
686 * The callback is called in the main loop.
688 * @param[in] face The handle of the media face
689 * @param[in] user_data The user data passed from the foreach function
691 * @return @c true to continue with the next iteration of the loop,
692 * otherwise @c false to break out of the loop
694 * @pre media_info_foreach_face_from_db() will invoke this function.
695 * @see media_info_foreach_face_from_db()
697 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
704 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
710 * @details You can use above define to set the condition of media filter and order keyword.
711 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
714 #define MEDIA_ID "MEDIA_ID"
717 * @brief Media full path.
718 * @details You can use above define to set the condition of media filter and order keyword.
719 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
722 #define MEDIA_PATH "MEDIA_PATH"
725 * @brief The file name including the extension.
726 * @details You can use above define to set the condition of media filter and order keyword.
727 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
730 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
734 * @details There are 5 media types:\n
735 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
736 * You can use above define to set the condition of media filter and order keyword.
737 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
740 #define MEDIA_TYPE "MEDIA_TYPE"
743 * @brief Media MIME type.
744 * @details You can use above define to set the condition of media filter and order keyword.
745 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
748 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
752 * @brief Media file size.
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_SIZE "MEDIA_SIZE"
760 * @brief The time that content file was first added to media database.
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_ADDED_TIME "MEDIA_ADDED_TIME"
768 * @brief The last modification time provided by the file system.
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_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
776 * @brief Media created time.
777 * @details You can use above define to set the condition of media filter and order keyword.
778 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
781 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
784 * @brief Media thumbnail path.
785 * @details You can use above define to set the condition of media filter and order keyword.
786 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
789 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
792 * @brief Media title get from tag or file name.
793 * @details You can use above define to set the condition of media filter and order keyword.
794 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
797 #define MEDIA_TITLE "MEDIA_TITLE"
800 * @brief Media album name.
801 * @details You can use above define to set the condition of media filter and order keyword.
802 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
805 #define MEDIA_ALBUM "MEDIA_ALBUM"
808 * @brief Media artist.
809 * @details You can use above define to set the condition of media filter and order keyword.
810 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
813 #define MEDIA_ARTIST "MEDIA_ARTIST"
816 * @brief Media album artist.
817 * @details You can use above define to set the condition of media filter and order keyword.
818 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
821 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
824 * @brief Media genre.
825 * @details You can use above define to set the condition of media filter and order keyword.
826 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
829 #define MEDIA_GENRE "MEDIA_GENRE"
832 * @brief Media composer.
833 * @details You can use above define to set the condition of media filter and order keyword.
834 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
837 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
841 * @details You can use above define to set the condition of media filter and order keyword.
842 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
845 #define MEDIA_YEAR "MEDIA_YEAR"
848 * @brief Media recorded date.
849 * @details You can use above define to set the condition of media filter and order keyword.
850 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
853 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
856 * @deprecated Deprecated since 5.5.
857 * @brief Media copyright.
858 * @details You can use above define to set the condition of media filter and order keyword.
859 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
862 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
865 * @brief Media track number.
866 * @details You can use above define to set the condition of media filter and order keyword.
867 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
870 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
873 * @deprecated Deprecated since 5.5.
874 * @brief Media description.
875 * @details You can use above define to set the condition of media filter and order keyword.
876 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
879 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
882 * @deprecated Deprecated since 5.5.
883 * @brief Media bitrate.
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_BITRATE "MEDIA_BITRATE"
891 * @deprecated Deprecated since 5.5.
892 * @brief Media bit per sample.
893 * @details You can use above define to set the condition of media filter and order keyword.
894 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
897 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
900 * @deprecated Deprecated since 5.5.
901 * @brief Media sample rate.
902 * @details You can use above define to set the condition of media filter and order keyword.
903 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
906 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
909 * @deprecated Deprecated since 5.5.
910 * @brief Media channel.
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_CHANNEL "MEDIA_CHANNEL"
918 * @brief Media duration.
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_DURATION "MEDIA_DURATION"
926 * @brief Media longitude.
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_LONGITUDE "MEDIA_LONGITUDE"
934 * @brief Media latitude.
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_LATITUDE "MEDIA_LATITUDE"
942 * @brief Media altitude.
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_ALTITUDE "MEDIA_ALTITUDE"
950 * @brief Media width.
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_WIDTH "MEDIA_WIDTH"
958 * @brief Media height.
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_HEIGHT "MEDIA_HEIGHT"
966 * @brief Media datetaken.
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_DATETAKEN "MEDIA_DATETAKEN"
974 * @deprecated Deprecated since 5.5.
975 * @brief Media orientation.
976 * @details You can use above define to set the condition of media filter and order keyword.
977 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
980 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
983 * @deprecated Deprecated since 5.5.
984 * @brief Media rating.
985 * @details You can use above define to set the condition of media filter and order keyword.
986 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
989 #define MEDIA_RATING "MEDIA_RATING"
992 * @brief The time to register favourite.
993 * @details You can use above define to set the condition of media filter and order keyword.
994 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
997 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1001 * @details There are 2 types:\n
1002 * 0-not drm, 1-drm\n
1003 * You can use above define to set the condition of media filter and order keyword.
1004 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1007 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
1010 * @deprecated Deprecated since 5.0.
1011 * @brief Media storage.
1012 * @details There are 3 types:\n
1013 * 0-internal storage, 1-SD card, 2-USB storage\n
1014 * You can use above define to set the condition of media filter and order keyword.
1015 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1018 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1021 * @deprecated Deprecated since 5.5.
1022 * @brief Media exposure time.
1023 * @details You can use above define to set the condition of media filter and order keyword.
1024 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1027 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1030 * @deprecated Deprecated since 5.5.
1031 * @brief Media fnumber.
1032 * @details You can use above define to set the condition of media filter and order keyword.
1033 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1036 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1039 * @deprecated Deprecated since 5.5.
1041 * @details You can use above define to set the condition of media filter and order keyword.
1042 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1045 #define MEDIA_ISO "MEDIA_ISO"
1048 * @deprecated Deprecated since 5.5.
1049 * @brief Media model.
1050 * @details You can use above define to set the condition of media filter and order keyword.
1051 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1054 #define MEDIA_MODEL "MEDIA_MODEL"
1057 * @brief Media file name pinyin.
1058 * @details You can use above define to set the condition of media filter and order keyword.
1059 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1060 * @remarks Since 4.0, this keyword is related to the following feature:\n
1061 * - %http://tizen.org/feature/content.filter.pinyin\n
1062 * If this feature is not supported on the device, PINYIN search does not work.
1065 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1068 * @brief Media title pinyin.
1069 * @details You can use above define to set the condition of media filter and order keyword.
1070 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1071 * @remarks Since 4.0, this keyword is related to the following feature:\n
1072 * - %http://tizen.org/feature/content.filter.pinyin\n
1073 * If this feature is not supported on the device, PINYIN search does not work.
1076 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1079 * @brief Media album pinyin.
1080 * @details You can use above define to set the condition of media filter and order keyword.
1081 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1082 * @remarks Since 4.0, this keyword is related to the following feature:\n
1083 * - %http://tizen.org/feature/content.filter.pinyin\n
1084 * If this feature is not supported on the device, PINYIN search does not work.
1087 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1090 * @brief Media artist pinyin.
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
1093 * @remarks Since 4.0, this keyword is related to the following feature:\n
1094 * - %http://tizen.org/feature/content.filter.pinyin\n
1095 * If this feature is not supported on the device, PINYIN search does not work.
1098 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1101 * @brief Media album artist pinyin.
1102 * @details You can use above define to set the condition of media filter and order keyword.
1103 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1104 * @remarks Since 4.0, this keyword is related to the following feature:\n
1105 * - %http://tizen.org/feature/content.filter.pinyin\n
1106 * If this feature is not supported on the device, PINYIN search does not work.
1109 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1112 * @brief Media genre pinyin.
1113 * @details You can use above define to set the condition of media filter and order keyword.
1114 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1115 * @remarks Since 4.0, this keyword is related to the following feature:\n
1116 * - %http://tizen.org/feature/content.filter.pinyin\n
1117 * If this feature is not supported on the device, PINYIN search does not work.
1120 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1123 * @brief Media composer pinyin.
1124 * @details You can use above define to set the condition of media filter and order keyword.
1125 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1126 * @remarks Since 4.0, this keyword is related to the following feature:\n
1127 * - %http://tizen.org/feature/content.filter.pinyin\n
1128 * If this feature is not supported on the device, PINYIN search does not work.
1131 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1134 * @deprecated Deprecated since 5.5.
1135 * @brief Media copyright pinyin.
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
1138 * @remarks Since 4.0, this keyword is related to the following feature:\n
1139 * - %http://tizen.org/feature/content.filter.pinyin\n
1140 * If this feature is not supported on the device, PINYIN search does not work.
1143 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1146 * @deprecated Deprecated since 5.5.
1147 * @brief Media description pinyin.
1148 * @details You can use above define to set the condition of media filter and order keyword.
1149 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1150 * @remarks Since 4.0, this keyword is related to the following feature:\n
1151 * - %http://tizen.org/feature/content.filter.pinyin\n
1152 * If this feature is not supported on the device, PINYIN search does not work.
1155 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1158 * @brief Virtual Reality content.
1159 * @details You can use above define to set the condition of media filter and order keyword.
1163 #define MEDIA_360 "MEDIA_360"
1167 * @details You can use above define to set the condition of folder filter and order keyword.
1168 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1170 #define FOLDER_ID "FOLDER_ID"
1173 * @brief Folder full path.
1174 * @details You can use above define to set the condition of folder filter and order keyword.
1175 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1177 #define FOLDER_PATH "FOLDER_PATH"
1180 * @brief Folder base name.
1181 * @details You can use above define to set the condition of folder filter and order keyword.
1182 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1184 #define FOLDER_NAME "FOLDER_NAME"
1187 * @deprecated Deprecated since 5.0.
1188 * @brief Folder storage.
1189 * @details There are 2 types:\n
1190 * 0-internal storage, 1-external storage\n
1191 * You can use above define to set the condition of folder filter and order keyword.
1192 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1194 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1197 * @brief Folder base name pinyin.
1198 * @details You can use above define to set the condition of folder filter and order keyword.
1199 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1200 * @remarks Since 4.0, this keyword is related to the following feature:\n
1201 * - %http://tizen.org/feature/content.filter.pinyin\n
1202 * If this feature is not supported on the device, PINYIN search does not work.
1204 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1207 * @brief Playlist name.
1208 * @details You can use above define to set the condition of playlist filter and order keyword.
1209 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1211 #define PLAYLIST_NAME "PLAYLIST_NAME"
1214 * @brief Playlist id.
1215 * @details You can use above define to set the condition of playlist filter and order keyword.
1218 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1221 * @brief Playlist member order.
1222 * @details You can use above define to set the condition of playlist filter and order keyword.
1223 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1225 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1228 * @brief Media count in playlist.
1229 * @details You can use above define to set the condition of playlist filter and order keyword.
1230 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1232 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1236 * @details You can use above define to set the condition of tag filter and order keyword.
1237 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1239 #define TAG_NAME "TAG_NAME"
1243 * @details You can use above define to set the condition of tag filter and order keyword.
1246 #define MEDIA_TAG_ID "TAG_ID"
1249 * @brief Media count in tag.
1250 * @details You can use above define to set the condition of tag filter and order keyword.
1251 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1253 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1256 * @brief Bookmark marked time.
1257 * @details You can use above define to set the condition of bookmark filter and order keyword.
1258 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1260 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1263 * @brief Bookmark id.
1264 * @details You can use above define to set the condition of bookmark filter and order keyword.
1267 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1270 * @brief Bookmark name.
1271 * @details You can use above define to set the condition of bookmark filter and order keyword.
1274 #define BOOKMARK_NAME "BOOKMARK_NAME"
1277 * @deprecated Deprecated since 5.0.
1278 * @brief Storage ID.
1279 * @details You can use above define to set the condition of storage filter and order keyword.
1280 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1282 #define MEDIA_STORAGE_ID "STORAGE_ID"
1285 * @deprecated Deprecated since 5.0.
1286 * @brief Storage path.
1287 * @details You can use above define to set the condition of storage filter and order keyword.
1288 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1290 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1294 * @details You can use above define to set the condition of face filter and order keyword.
1297 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1301 * @details You can use above define to set the condition of face filter and order keyword.
1304 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1313 #endif /* __cplusplus */
1316 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/