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 and burst shot are inserted completely and when notification of media DB change is subscribed.
37 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
42 * @ingroup CAPI_MEDIA_CONTENT_MODULE
43 * @brief Enumeration for the media file format.
44 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
45 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
46 * %http://tizen.org/feature/content.scanning.others\n
47 * If this feature is not 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_e;
58 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
59 * @deprecated Deprecated since 5.0.
60 * @brief Enumeration for the storage type.
61 * @details This information is used to establish where the folder is.
62 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
65 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
66 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
67 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
68 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
69 } media_content_storage_e;
72 * @ingroup CAPI_MEDIA_CONTENT_MODULE
73 * @brief Enumeration for media content DB update items.
74 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
77 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
78 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
79 } media_content_db_update_item_type_e;
82 * @ingroup CAPI_MEDIA_CONTENT_MODULE
83 * @brief Enumeration for media content DB update types.
84 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
87 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
88 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
89 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
90 } media_content_db_update_type_e;
93 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
94 * @brief Enumeration for orientation types.
95 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
98 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
99 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
100 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
101 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
102 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
103 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
104 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
105 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
106 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
107 } media_content_orientation_e;
110 * @ingroup CAPI_MEDIA_CONTENT_MODULE
111 * @brief Enumeration for ordering.
112 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
115 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
116 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
117 MEDIA_CONTENT_ORDER_OTHER = 2, /**< order by order key**/
118 } media_content_order_e;
121 * @ingroup CAPI_MEDIA_CONTENT_MODULE
122 * @brief Enumeration for collations.
123 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
126 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
127 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
128 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
129 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
130 } media_content_collation_e;
133 * @brief Error class.
134 * @details Class for Media Content error
135 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
138 #define MEDIA_CONTENT_ERROR_CLASS TIZEN_ERROR_MEDIA_CONTENT
141 * @ingroup CAPI_MEDIA_CONTENT_MODULE
142 * @brief Enumeration for a media content error.
143 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
146 MEDIA_CONTENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
147 MEDIA_CONTENT_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
148 MEDIA_CONTENT_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
149 MEDIA_CONTENT_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Invalid Operation */
150 MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE = TIZEN_ERROR_FILE_NO_SPACE_ON_DEVICE, /**< No space left on device */
151 MEDIA_CONTENT_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
152 MEDIA_CONTENT_ERROR_DB_FAILED = MEDIA_CONTENT_ERROR_CLASS | 0x01, /**< DB operation failed */
153 MEDIA_CONTENT_ERROR_DB_BUSY = MEDIA_CONTENT_ERROR_CLASS | 0x02, /**< DB operation BUSY */
154 MEDIA_CONTENT_ERROR_NETWORK = MEDIA_CONTENT_ERROR_CLASS | 0x03, /**< Network Fail */
155 MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT = MEDIA_CONTENT_ERROR_CLASS | 0x04, /**< Unsupported Content */
156 MEDIA_CONTENT_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported */
157 } media_content_error_e;
160 * @ingroup CAPI_MEDIA_CONTENT_MODULE
161 * @brief Enumeration for a media group.
162 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
165 MEDIA_CONTENT_GROUP_DISPLAY_NAME = 0, /**< Media group ID for display name */
166 MEDIA_CONTENT_GROUP_TYPE, /**< Media group ID for a media type */
167 MEDIA_CONTENT_GROUP_MIME_TYPE, /**< Media group ID for a mime type */
168 MEDIA_CONTENT_GROUP_SIZE, /**< Media group ID for content size */
169 MEDIA_CONTENT_GROUP_ADDED_TIME, /**< Media group ID for the added time */
170 MEDIA_CONTENT_GROUP_MODIFIED_TIME, /**< Media group ID for the modified time */
171 MEDIA_CONTENT_GROUP_TITLE, /**< Media group ID for a content title */
172 MEDIA_CONTENT_GROUP_ARTIST, /**< Media group ID for an artist*/
173 MEDIA_CONTENT_GROUP_ALBUM_ARTIST, /**< Media group ID for an album artist */
174 MEDIA_CONTENT_GROUP_GENRE, /**< Media group ID for a genre*/
175 MEDIA_CONTENT_GROUP_COMPOSER, /**< Media group ID for a composer*/
176 MEDIA_CONTENT_GROUP_YEAR, /**< Media group ID for a year*/
177 MEDIA_CONTENT_GROUP_RECORDED_DATE, /**< Media group ID for the recorded date*/
178 MEDIA_CONTENT_GROUP_COPYRIGHT, /**< Media group ID for the copyright*/
179 MEDIA_CONTENT_GROUP_TRACK_NUM, /**< Media group ID for a track number*/
180 MEDIA_CONTENT_GROUP_DESCRIPTION, /**< Media group ID for a description */
181 MEDIA_CONTENT_GROUP_LONGITUDE, /**< Media group ID for the longitude*/
182 MEDIA_CONTENT_GROUP_LATITUDE, /**< Media group ID for the latitude*/
183 MEDIA_CONTENT_GROUP_ALTITUDE, /**< Media group ID for the altitude*/
184 MEDIA_CONTENT_GROUP_BURST_IMAGE, /**< Media group ID for the burst shot (Deprecated since 4.0)*/
185 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
186 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author (Deprecated since 4.0)*/
187 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider (Deprecated since 4.0)*/
188 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
189 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category (Deprecated since 4.0)*/
190 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag (Deprecated since 4.0)*/
191 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating (Deprecated since 4.0)*/
192 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
193 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather (Deprecated since 4.0)*/
194 MEDIA_CONTENT_GROUP_MAX /**< Invalid media group ID*/
198 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
199 * @brief The structure type for the Media info handle.
200 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
202 typedef struct media_info_s *media_info_h;
205 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
206 * @brief The structure type for the Media folder handle.
207 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
209 typedef struct media_folder_s *media_folder_h;
212 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
213 * @brief The structure type for the Media playlist handle.
214 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
216 typedef struct media_playlist_s *media_playlist_h;
219 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
220 * @brief The structure type for the Media tag handle.
221 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
223 typedef struct media_tag_s *media_tag_h;
226 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
227 * @brief The structure type for the Media bookmark handle.
228 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
230 typedef struct media_bookmark_s *media_bookmark_h;
233 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
234 * @brief The structure type for the Media album handle.
235 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
237 typedef struct media_album_s *media_album_h;
240 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
241 * @brief The structure type for the Image metadata handle.
242 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
244 typedef struct image_meta_s *image_meta_h;
247 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
248 * @brief The structure type for the Video metadata handle.
249 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
251 typedef struct video_meta_s *video_meta_h;
254 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
255 * @brief The structure type for the Audio metadata handle.
256 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
258 typedef struct audio_meta_s *audio_meta_h;
261 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
262 * @brief The structure type for the Media filter handle.
263 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
265 typedef struct filter_s *filter_h;
268 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
269 * @deprecated Deprecated since 5.0.
270 * @brief The structure type for the Media storage handle.
271 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
273 typedef void *media_storage_h;
276 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
277 * @brief The structure type for the Media face handle.
280 typedef void *media_face_h;
283 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
284 * @brief The structure type for the Media content noti handle.
287 typedef void *media_content_noti_h;
290 * @ingroup CAPI_MEDIA_CONTENT_MODULE
291 * @brief Called when the media scanning is finished.
292 * @details The following error codes can be received: \n
293 * #MEDIA_CONTENT_ERROR_NONE : Success \n
294 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
295 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
296 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
297 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
298 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
299 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
300 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
301 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
302 * @remarks The callback is called in a separate thread(not in the main loop).
304 * @param[in] error The error code
305 * @param[in] user_data The user data passed from the foreach function
307 * @pre media_content_scan_folder().
308 * @see media_content_scan_folder()
310 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
313 * @ingroup CAPI_MEDIA_CONTENT_MODULE
314 * @brief Called when the notification of the media DB change is subscribed.
315 * @details The following error codes can be received: \n
316 * #MEDIA_CONTENT_ERROR_NONE : Success \n
317 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
319 * @remarks The callback is called in a separate thread(not in the main loop).
321 * @param[in] error The error code
322 * @param[in] pid The PID which publishes notification
323 * @param[in] update_item The update item of notification
324 * @param[in] update_type The update type of notification
325 * @param[in] media_type The type of the media content (#media_content_type_e)
326 * @param[in] uuid The UUID of media or directory, which is updated
327 * @param[in] path The path of the media or directory
328 * @param[in] mime_type The MIME of the media info
329 * @param[in] user_data The user data passed from the foreach function
331 * @pre media_content_add_db_updated_cb().
332 * @see media_content_add_db_updated_cb()
334 typedef void (*media_content_db_update_cb)(
335 media_content_error_e error,
337 media_content_db_update_item_type_e update_item,
338 media_content_db_update_type_e update_type,
339 media_content_type_e media_type,
347 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
348 * @brief Called for every available media info.
349 * @details Iterates over a list of media info.
350 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
352 * @remarks To use the @a media outside this function, copy the handle with media_info_clone() function. \n
353 * The callback is called in the main loop.
355 * @param[in] media The handle to the media info
356 * @param[in] user_data The user data passed from the foreach function
358 * @return @c true to continue with the next iteration of the loop,
359 * otherwise @c false to break out of the loop
361 * @pre media_tag_foreach_media_from_db(), media_playlist_foreach_media_from_db(), media_genre_foreach_media_from_db(),
362 * media_info_foreach_media_from_db(), media_folder_foreach_media_from_db() will invoke this function.
364 * @see media_info_clone()
365 * @see media_album_foreach_media_from_db()
366 * @see media_playlist_foreach_media_from_db()
367 * @see media_tag_foreach_media_from_db()
368 * @see media_info_foreach_media_from_db()
369 * @see media_folder_foreach_media_from_db()
371 typedef bool (*media_info_cb)(media_info_h media, void *user_data);
375 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
376 * @brief Called when media items are inserted completely.
377 * @details The following error codes can be received: \n
378 * #MEDIA_CONTENT_ERROR_NONE : Success \n
379 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
380 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
381 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
382 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
383 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
384 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
385 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
386 * #MEDIA_CONTENT_ERROR_NOT_SUPPORTED : Not supported \n
387 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
389 * @remarks The callback is called in a separate thread(not in the main loop).
391 * @param[in] error The error code
392 * @param[in] user_data The user data passed from the foreach function
394 * @pre media_info_insert_batch_to_db()
395 * @see media_info_insert_batch_to_db()
397 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
401 * @deprecated Deprecated since 4.0.
402 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
403 * @brief Called when the burst shot is inserted completely.
404 * @details The following error codes can be received: \n
405 * #MEDIA_CONTENT_ERROR_NONE : Success \n
406 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER : Invalid parameter \n
407 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION : Invalid operation \n
408 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED : Permission denied \n
409 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY : Out of memory \n
410 * #MEDIA_CONTENT_ERROR_DB_FAILED : DB Operation failed \n
411 * #MEDIA_CONTENT_ERROR_DB_BUSY : DB Operation busy \n
412 * #MEDIA_CONTENT_ERROR_NETWORK : Network fail \n
413 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
415 * @remarks The callback is called in a separate thread(not in the main loop).
417 * @param[in] error The error code
418 * @param[in] user_data The user data passed from the foreach function
420 * @pre media_info_insert_burst_shot_to_db()
421 * @see media_info_insert_burst_shot_to_db()
424 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
428 * @deprecated Deprecated since 5.0.
429 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
430 * @brief Called when creating a thumbnail image.
431 * @details This callback is called for completion of generating the thumbnail image.
432 * The following error codes can be delivered. \n
433 * #MEDIA_CONTENT_ERROR_NONE, \n
434 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
435 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
436 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
437 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
438 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
439 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
441 * @remarks The callback is called in a separate thread(not in the main loop).
443 * @param[in] error The error code
444 * @param[in] path The path of the thumbnail which is generated
445 * @param[in] user_data The user data passed from the foreach function
447 * @pre media_info_create_thumbnail()
448 * @see media_info_create_thumbnail()
450 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
453 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
454 * @brief Called when face detection on the image is completed.
456 * @details The following error codes can be delivered. \n
457 * #MEDIA_CONTENT_ERROR_NONE, \n
458 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
459 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
460 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
461 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
462 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
466 * @remarks The callback is called in a separate thread(not in the main loop).
468 * @param[in] error The error code
469 * @param[in] face_count The number of all detected faces
470 * @param[in] user_data The user data passed from the foreach function
472 * @pre media_info_start_face_detection()
473 * @see media_info_start_face_detection()
475 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
479 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
480 * @brief Called for every available media folder.
481 * @details Iterates over a list of folders.
483 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
485 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
486 * The callback is called in the main loop.
488 * @param[in] folder The handle to the media folder
489 * @param[in] user_data The user data passed from the foreach function
491 * @return @c true to continue with the next iteration of the loop,
492 * otherwise @c false to break out of the loop
494 * @pre media_folder_foreach_folder_from_db() will invoke this function.
495 * @see media_folder_clone()
496 * @see media_folder_foreach_folder_from_db()
498 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
501 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
502 * @brief Called for every playlist in the obtained list of playlists.
503 * @details Iterates over a playlist list.
505 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
507 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
508 * The callback is called in the main loop.
510 * @param[in] playlist The handle to the media playlist
511 * @param[in] user_data The user data passed from the foreach function
513 * @return @c true to continue with the next iteration of the loop,
514 * otherwise @c false to break out of the loop
516 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
518 * @see media_playlist_clone()
519 * @see media_playlist_foreach_playlist_from_db()
521 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
524 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
525 * @brief Called for every media info with playlist member ID in the obtained list of media info.
526 * @details Iterates over playlist members.
528 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
530 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
531 * The callback is called in the main loop.
533 * @param[in] playlist_member_id The ID of the playlist member
534 * @param[in] media The handle to the media info
535 * @param[in] user_data The user data passed from the foreach function
537 * @return @c true to continue with the next iteration of the loop,
538 * otherwise @c false to break out of the loop
540 * @pre media_playlist_foreach_media_from_db() will invoke this function.
542 * @see media_info_clone()
543 * @see media_playlist_foreach_media_from_db()
545 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
548 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
549 * @brief Called for every tag in the obtained list of tags.
550 * @details Iterates over a list of tags.
552 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
554 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
555 * The callback is called in the main loop.
557 * @param[in] tag The handle to the media tag
558 * @param[in] user_data The user data passed from the foreach function
560 * @return @c true to continue with the next iteration of the loop,
561 * otherwise @c false to break out of the loop
563 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
565 * @see media_tag_clone()
566 * @see media_tag_foreach_tag_from_db()
567 * @see media_info_foreach_tag_from_db()
569 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
572 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
573 * @brief Called for every bookmark in the obtained list of bookmarks.
574 * @details Iterates over a bookmark list.
576 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
578 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
579 * The callback is called in the main loop.
581 * @param[in] bookmark The handle to the media bookmark
582 * @param[in] user_data The user data passed from the foreach function
584 * @return @c true to continue with the next iteration of the loop,
585 * otherwise @c false to break out of the loop
587 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
588 * @see media_info_foreach_bookmark_from_db()
590 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
593 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
594 * @brief Called for every album in the obtained list of groups.
595 * @details Iterates over an album list.
597 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
599 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
600 * The callback is called in the main loop.
602 * @param[in] album The handle to the media album
603 * @param[in] user_data The user data passed from the foreach function
605 * @return @c true to continue with the next iteration of the loop,
606 * otherwise @c false to break out of the loop
608 * @pre media_album_foreach_album_from_db() will invoke this function.
610 * @see media_album_clone()
611 * @see media_album_foreach_album_from_db()
613 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
616 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
617 * @brief Called for every group in the obtained list of groups.
618 * @details Iterates over a media group list.
620 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
622 * @remarks You should not free @a group_name returned by this function. \n
623 * The callback is called in the main loop.
625 * @param[in] group_name The name of the media group
626 * @param[in] user_data The user data passed from the foreach function
628 * @return @c true to continue with the next iteration of the loop,
629 * otherwise @c false to break out of the loop
631 * @pre media_group_foreach_group_from_db() will invoke this function.
632 * @see media_group_foreach_group_from_db()
634 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
637 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
638 * @deprecated Deprecated since 5.0.
639 * @brief Called for every storage in the obtained list of storages.
640 * @details Iterates over a media storage list.
642 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
644 * @remarks You should not destroy @a storage returned by this function. \n
645 * The callback is called in the main loop.
647 * @param[in] storage The handle of the media storage
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_storage_foreach_storage_from_db() will invoke this function.
654 * @see media_storage_foreach_storage_from_db()
656 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
659 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
660 * @brief Called for every face in the obtained list of face.
661 * @details Iterates over a media face list.
665 * @remarks You should not destroy @a face returned by this function. \n
666 * The callback is called in the main loop.
668 * @param[in] face The handle of the media face
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_info_foreach_face_from_db() will invoke this function.
675 * @see media_info_foreach_face_from_db()
677 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
684 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
690 * @details You can use above define to set the condition of media filter and order keyword.
691 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
694 #define MEDIA_ID "MEDIA_ID"
697 * @brief Media full path.
698 * @details You can use above define to set the condition of media filter and order keyword.
699 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
702 #define MEDIA_PATH "MEDIA_PATH"
705 * @brief The file name including the extension.
706 * @details You can use above define to set the condition of media filter and order keyword.
707 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
710 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
714 * @details There are 5 media types:\n
715 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
716 * You can use above define to set the condition of media filter and order keyword.
717 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
720 #define MEDIA_TYPE "MEDIA_TYPE"
723 * @brief Media MIME type.
724 * @details You can use above define to set the condition of media filter and order keyword.
725 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
728 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
732 * @brief Media file size.
733 * @details You can use above define to set the condition of media filter and order keyword.
734 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
737 #define MEDIA_SIZE "MEDIA_SIZE"
740 * @brief The time that content file was first added to media database.
741 * @details You can use above define to set the condition of media filter and order keyword.
742 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
745 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
748 * @brief The last modification time provided by the file system.
749 * @details You can use above define to set the condition of media filter and order keyword.
750 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
753 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
756 * @brief Media created time.
757 * @details You can use above define to set the condition of media filter and order keyword.
758 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
761 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
764 * @brief Media thumbnail path.
765 * @details You can use above define to set the condition of media filter and order keyword.
766 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
769 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
772 * @brief Media title get from tag or file name.
773 * @details You can use above define to set the condition of media filter and order keyword.
774 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
777 #define MEDIA_TITLE "MEDIA_TITLE"
780 * @brief Media album name.
781 * @details You can use above define to set the condition of media filter and order keyword.
782 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
785 #define MEDIA_ALBUM "MEDIA_ALBUM"
788 * @brief Media artist.
789 * @details You can use above define to set the condition of media filter and order keyword.
790 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
793 #define MEDIA_ARTIST "MEDIA_ARTIST"
796 * @brief Media album artist.
797 * @details You can use above define to set the condition of media filter and order keyword.
798 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
801 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
804 * @brief Media genre.
805 * @details You can use above define to set the condition of media filter and order keyword.
806 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
809 #define MEDIA_GENRE "MEDIA_GENRE"
812 * @brief Media composer.
813 * @details You can use above define to set the condition of media filter and order keyword.
814 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
817 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
821 * @details You can use above define to set the condition of media filter and order keyword.
822 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
825 #define MEDIA_YEAR "MEDIA_YEAR"
828 * @brief Media recorded date.
829 * @details You can use above define to set the condition of media filter and order keyword.
830 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
833 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
836 * @brief Media copyright.
837 * @details You can use above define to set the condition of media filter and order keyword.
838 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
841 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
844 * @brief Media track number.
845 * @details You can use above define to set the condition of media filter and order keyword.
846 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
849 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
852 * @brief Media description.
853 * @details You can use above define to set the condition of media filter and order keyword.
854 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
857 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
860 * @brief Media bitrate.
861 * @details You can use above define to set the condition of media filter and order keyword.
862 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
865 #define MEDIA_BITRATE "MEDIA_BITRATE"
868 * @brief Media bit per sample.
869 * @details You can use above define to set the condition of media filter and order keyword.
870 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
873 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
876 * @brief Media sample rate.
877 * @details You can use above define to set the condition of media filter and order keyword.
878 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
881 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
884 * @brief Media channel.
885 * @details You can use above define to set the condition of media filter and order keyword.
886 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
889 #define MEDIA_CHANNEL "MEDIA_CHANNEL"
892 * @brief Media duration.
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_DURATION "MEDIA_DURATION"
900 * @brief Media longitude.
901 * @details You can use above define to set the condition of media filter and order keyword.
902 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
905 #define MEDIA_LONGITUDE "MEDIA_LONGITUDE"
908 * @brief Media latitude.
909 * @details You can use above define to set the condition of media filter and order keyword.
910 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
913 #define MEDIA_LATITUDE "MEDIA_LATITUDE"
916 * @brief Media altitude.
917 * @details You can use above define to set the condition of media filter and order keyword.
918 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
921 #define MEDIA_ALTITUDE "MEDIA_ALTITUDE"
924 * @brief Media width.
925 * @details You can use above define to set the condition of media filter and order keyword.
926 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
929 #define MEDIA_WIDTH "MEDIA_WIDTH"
932 * @brief Media height.
933 * @details You can use above define to set the condition of media filter and order keyword.
934 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
937 #define MEDIA_HEIGHT "MEDIA_HEIGHT"
940 * @brief Media datetaken.
941 * @details You can use above define to set the condition of media filter and order keyword.
942 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
945 #define MEDIA_DATETAKEN "MEDIA_DATETAKEN"
948 * @brief Media orientation.
949 * @details You can use above define to set the condition of media filter and order keyword.
950 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
953 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
956 * @deprecated Deprecated since 4.0.
957 * @brief Media burst ID.
958 * @details You can use above define to set the condition of media filter and order keyword.
959 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
962 #define MEDIA_BURST_ID "BURST_ID"
965 * @deprecated Deprecated since 4.0.
966 * @brief Media playedcount.
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_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
974 * @deprecated Deprecated since 4.0.
975 * @brief Media last played time.
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_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
983 * @deprecated Deprecated since 4.0.
984 * @brief Media last played position of file.
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_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
992 * @brief Media rating.
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_RATING "MEDIA_RATING"
1000 * @brief The time to register favourite.
1001 * @details You can use above define to set the condition of media filter and order keyword.
1002 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1005 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1008 * @deprecated Deprecated since 4.0.
1009 * @brief Media author.
1010 * @details You can use above define to set the condition of media filter and order keyword.
1011 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1014 #define MEDIA_AUTHOR "MEDIA_AUTHOR"
1017 * @deprecated Deprecated since 4.0.
1018 * @brief Media provider.
1019 * @details You can use above define to set the condition of media filter and order keyword.
1020 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1023 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
1026 * @deprecated Deprecated since 4.0.
1027 * @brief Media content name.
1028 * @details You can use above define to set the condition of media filter and order keyword.
1029 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1032 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
1035 * @deprecated Deprecated since 4.0.
1036 * @brief Media category.
1037 * @details You can use above define to set the condition of media filter and order keyword.
1038 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1041 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1044 * @deprecated Deprecated since 4.0.
1045 * @brief Media location tag.
1046 * @details You can use above define to set the condition of media filter and order keyword.
1047 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1050 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1053 * @deprecated Deprecated since 4.0.
1054 * @brief Media age rating.
1055 * @details You can use above define to set the condition of media filter and order keyword.
1056 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1059 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1062 * @deprecated Deprecated since 4.0.
1063 * @brief Media keyword.
1064 * @details You can use above define to set the condition of media filter and order keyword.
1065 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1068 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1071 * @deprecated Deprecated since 4.0.
1072 * @brief Media weather.
1073 * @details You can use above define to set the condition of media filter and order keyword.
1074 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1077 #define MEDIA_WEATHER "MEDIA_WEATHER"
1081 * @details There are 2 types:\n
1082 * 0-not drm, 1-drm\n
1083 * You can use above define to set the condition of media filter and order keyword.
1084 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1087 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
1090 * @deprecated Deprecated since 5.0.
1091 * @brief Media storage.
1092 * @details There are 2 types:\n
1093 * 0-internal storage, 1-external storage\n
1094 * 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_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1101 * @brief Media exposure time.
1102 * @details You can use above define to set the condition of media filter and order keyword.
1103 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1106 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1109 * @brief Media fnumber.
1110 * @details You can use above define to set the condition of media filter and order keyword.
1111 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1114 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1118 * @details You can use above define to set the condition of media filter and order keyword.
1119 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1122 #define MEDIA_ISO "MEDIA_ISO"
1125 * @brief Media model.
1126 * @details You can use above define to set the condition of media filter and order keyword.
1127 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1130 #define MEDIA_MODEL "MEDIA_MODEL"
1133 * @brief Media file name pinyin.
1134 * @details You can use above define to set the condition of media filter and order keyword.
1135 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1136 * @remarks Since 4.0, this keyword is related to the following feature:\n
1137 * - %http://tizen.org/feature/content.filter.pinyin\n
1138 * If this feature is not supported on the device, PINYIN search does not work.
1141 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1144 * @brief Media title pinyin.
1145 * @details You can use above define to set the condition of media filter and order keyword.
1146 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1147 * @remarks Since 4.0, this keyword is related to the following feature:\n
1148 * - %http://tizen.org/feature/content.filter.pinyin\n
1149 * If this feature is not supported on the device, PINYIN search does not work.
1152 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1155 * @brief Media album pinyin.
1156 * @details You can use above define to set the condition of media filter and order keyword.
1157 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1158 * @remarks Since 4.0, this keyword is related to the following feature:\n
1159 * - %http://tizen.org/feature/content.filter.pinyin\n
1160 * If this feature is not supported on the device, PINYIN search does not work.
1163 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1166 * @brief Media artist pinyin.
1167 * @details You can use above define to set the condition of media filter and order keyword.
1168 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1169 * @remarks Since 4.0, this keyword is related to the following feature:\n
1170 * - %http://tizen.org/feature/content.filter.pinyin\n
1171 * If this feature is not supported on the device, PINYIN search does not work.
1174 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1177 * @brief Media album artist pinyin.
1178 * @details You can use above define to set the condition of media filter and order keyword.
1179 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1180 * @remarks Since 4.0, this keyword is related to the following feature:\n
1181 * - %http://tizen.org/feature/content.filter.pinyin\n
1182 * If this feature is not supported on the device, PINYIN search does not work.
1185 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1188 * @brief Media genre pinyin.
1189 * @details You can use above define to set the condition of media filter and order keyword.
1190 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1191 * @remarks Since 4.0, this keyword is related to the following feature:\n
1192 * - %http://tizen.org/feature/content.filter.pinyin\n
1193 * If this feature is not supported on the device, PINYIN search does not work.
1196 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1199 * @brief Media composer 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_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1210 * @brief Media copyright 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_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1221 * @brief Media description 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_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1232 * @deprecated Deprecated since 4.0.
1233 * @brief Media author pinyin.
1234 * @details You can use above define to set the condition of media filter and order keyword.
1235 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1236 * @remarks Since 4.0, this keyword is related to the following feature:\n
1237 * - %http://tizen.org/feature/content.filter.pinyin\n
1238 * If this feature is not supported on the device, PINYIN search does not work.
1241 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1244 * @deprecated Deprecated since 4.0.
1245 * @brief Media provider pinyin.
1246 * @details You can use above define to set the condition of media filter and order keyword.
1247 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1248 * @remarks Since 4.0, this keyword is related to the following feature:\n
1249 * - %http://tizen.org/feature/content.filter.pinyin\n
1250 * If this feature is not supported on the device, PINYIN search does not work.
1253 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1256 * @deprecated Deprecated since 4.0.
1257 * @brief Media content name pinyin.
1258 * @details You can use above define to set the condition of media filter and order keyword.
1259 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1260 * @remarks Since 4.0, this keyword is related to the following feature:\n
1261 * - %http://tizen.org/feature/content.filter.pinyin\n
1262 * If this feature is not supported on the device, PINYIN search does not work.
1265 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1268 * @deprecated Deprecated since 4.0.
1269 * @brief Media category pinyin.
1270 * @details You can use above define to set the condition of media filter and order keyword.
1271 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1272 * @remarks Since 4.0, this keyword is related to the following feature:\n
1273 * - %http://tizen.org/feature/content.filter.pinyin\n
1274 * If this feature is not supported on the device, PINYIN search does not work.
1277 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1280 * @deprecated Deprecated since 4.0.
1281 * @brief Media location tag pinyin.
1282 * @details You can use above define to set the condition of media filter and order keyword.
1283 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1284 * @remarks Since 4.0, this keyword is related to the following feature:\n
1285 * - %http://tizen.org/feature/content.filter.pinyin\n
1286 * If this feature is not supported on the device, PINYIN search does not work.
1289 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1292 * @deprecated Deprecated since 4.0.
1293 * @brief Media age rating pinyin.
1294 * @details You can use above define to set the condition of media filter and order keyword.
1295 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1296 * @remarks Since 4.0, this keyword is related to the following feature:\n
1297 * - %http://tizen.org/feature/content.filter.pinyin\n
1298 * If this feature is not supported on the device, PINYIN search does not work.
1301 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1304 * @deprecated Deprecated since 4.0.
1305 * @brief Media keyword pinyin.
1306 * @details You can use above define to set the condition of media filter and order keyword.
1307 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1308 * @remarks Since 4.0, this keyword is related to the following feature:\n
1309 * - %http://tizen.org/feature/content.filter.pinyin\n
1310 * If this feature is not supported on the device, PINYIN search does not work.
1313 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1316 * @brief Virtual Reality content.
1317 * @details You can use above define to set the condition of media filter and order keyword.
1321 #define MEDIA_360 "MEDIA_360"
1325 * @details You can use above define to set the condition of folder filter and order keyword.
1326 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1328 #define FOLDER_ID "FOLDER_ID"
1331 * @brief Folder full path.
1332 * @details You can use above define to set the condition of folder filter and order keyword.
1333 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1335 #define FOLDER_PATH "FOLDER_PATH"
1338 * @brief Folder base name.
1339 * @details You can use above define to set the condition of folder filter and order keyword.
1340 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1342 #define FOLDER_NAME "FOLDER_NAME"
1345 * @deprecated Deprecated since 4.0.
1346 * @brief Folder modified time.
1347 * @details You can use above define to set the condition of folder filter and order keyword.
1348 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1350 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1353 * @deprecated Deprecated since 5.0.
1354 * @brief Folder storage.
1355 * @details There are 2 types:\n
1356 * 0-internal storage, 1-external storage\n
1357 * You can use above define to set the condition of folder filter and order keyword.
1358 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1360 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1363 * @brief Folder base name pinyin.
1364 * @details You can use above define to set the condition of folder filter and order keyword.
1365 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1366 * @remarks Since 4.0, this keyword is related to the following feature:\n
1367 * - %http://tizen.org/feature/content.filter.pinyin\n
1368 * If this feature is not supported on the device, PINYIN search does not work.
1370 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1373 * @deprecated Deprecated since 4.0.
1374 * @brief Folder order info.
1375 * @details You can use above define to set the condition of folder filter and order keyword.
1376 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1378 #define FOLDER_ORDER "FOLDER_ORDER"
1381 * @deprecated Deprecated since 4.0.
1382 * @brief Parent folder id.
1383 * @details You can use above define to set the condition of folder filter and order keyword.
1384 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1386 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1389 * @brief Playlist name.
1390 * @details You can use above define to set the condition of playlist filter and order keyword.
1391 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1393 #define PLAYLIST_NAME "PLAYLIST_NAME"
1396 * @brief Playlist id.
1397 * @details You can use above define to set the condition of playlist filter and order keyword.
1400 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1403 * @brief Playlist member order.
1404 * @details You can use above define to set the condition of playlist filter and order keyword.
1405 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1407 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1410 * @brief Media count in playlist.
1411 * @details You can use above define to set the condition of playlist filter and order keyword.
1412 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1414 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1418 * @details You can use above define to set the condition of tag filter and order keyword.
1419 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1421 #define TAG_NAME "TAG_NAME"
1425 * @details You can use above define to set the condition of tag filter and order keyword.
1428 #define MEDIA_TAG_ID "TAG_ID"
1431 * @brief Media count in tag.
1432 * @details You can use above define to set the condition of tag filter and order keyword.
1433 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1435 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1438 * @brief Bookmark marked time.
1439 * @details You can use above define to set the condition of bookmark filter and order keyword.
1440 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1442 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1445 * @brief Bookmark id.
1446 * @details You can use above define to set the condition of bookmark filter and order keyword.
1449 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1452 * @brief Bookmark name.
1453 * @details You can use above define to set the condition of bookmark filter and order keyword.
1456 #define BOOKMARK_NAME "BOOKMARK_NAME"
1459 * @deprecated Deprecated since 5.0.
1460 * @brief Storage ID.
1461 * @details You can use above define to set the condition of storage filter and order keyword.
1462 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1464 #define MEDIA_STORAGE_ID "STORAGE_ID"
1467 * @deprecated Deprecated since 5.0.
1468 * @brief Storage path.
1469 * @details You can use above define to set the condition of storage filter and order keyword.
1470 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1472 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1476 * @details You can use above define to set the condition of face filter and order keyword.
1479 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1483 * @details You can use above define to set the condition of face filter and order keyword.
1486 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1495 #endif /* __cplusplus */
1498 #endif /*__TIZEN_CONTENT_MEDIA_CONTENT_TYPE_H__*/