2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __TIZEN_MEDIA_CONTENT_TYPE_H__
19 #define __TIZEN_MEDIA_CONTENT_TYPE_H__
26 #endif /* __cplusplus */
29 #ifndef _USE_SENIOR_MODE
30 #define _USE_SENIOR_MODE
35 * @file media_content_type.h
36 * @brief This file contains API related to media-content enumerations for media data types, groups, orientations, \n
37 * classes of errors and definitions of media-data. \n
38 * Listed APIs are called when iterating over lists of album, group, bookmark and other media, \n
39 * when media items and burst shot are inserted completely and when notification of media DB change is subscribed.
43 * @addtogroup CAPI_MEDIA_CONTENT_MODULE
48 * @ingroup CAPI_MEDIA_CONTENT_MODULE
49 * @brief Enumeration for the media file format.
50 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
51 * @remarks Since 4.0, #MEDIA_CONTENT_TYPE_OTHERS is related to the following feature:\n
52 * %http://tizen.org/feature/content.scanning.others
53 * If this feature is not suppported on the device, MEDIA_CONTENT_TYPE_OTHERS type file is not scanned.
56 MEDIA_CONTENT_TYPE_IMAGE = 0, /**<The type of an image */
57 MEDIA_CONTENT_TYPE_VIDEO = 1, /**<The type of a video */
58 MEDIA_CONTENT_TYPE_SOUND = 2, /**<The type of sound */
59 MEDIA_CONTENT_TYPE_MUSIC = 3, /**<The type of music */
60 MEDIA_CONTENT_TYPE_OTHERS = 4, /**<The type of other */
61 MEDIA_CONTENT_TYPE_PVR = 5, /**<The type of PVR */
62 MEDIA_CONTENT_TYPE_UHD = 6, /**<The type of UHD */
63 MEDIA_CONTENT_TYPE_SCSA = 7, /**<The type of SCSA */
64 } media_content_type_e;
67 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
68 * @brief Enumeration for the storage type.
69 * @details This information is used to establish where the folder is.
70 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
73 MEDIA_CONTENT_STORAGE_INTERNAL = 0, /**< The device's internal storage */
74 MEDIA_CONTENT_STORAGE_EXTERNAL = 1, /**< The device's external storage like sd card*/
75 MEDIA_CONTENT_STORAGE_EXTERNAL_USB = 2, /**< The external USB storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
76 MEDIA_CONTENT_STORAGE_CLOUD = 100, /**< The Cloud storage (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, Deprecated since 4.0) */
77 } media_content_storage_e;
80 * @ingroup CAPI_MEDIA_CONTENT_MODULE
81 * @brief Enumeration for media content DB update items.
82 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
85 MEDIA_ITEM_FILE = 0, /**< File type, an item updated to DB */
86 MEDIA_ITEM_DIRECTORY = 1, /**< Directory type, an item updated to DB */
87 } media_content_db_update_item_type_e;
90 * @ingroup CAPI_MEDIA_CONTENT_MODULE
91 * @brief Enumeration for media content DB update types.
92 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
95 MEDIA_CONTENT_INSERT = 0, /**< Insert, the type of DB update */
96 MEDIA_CONTENT_DELETE = 1, /**< Delete, The type of DB update */
97 MEDIA_CONTENT_UPDATE = 2, /**< Update, The type of DB update */
98 } media_content_db_update_type_e;
101 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
102 * @brief Enumeration for orientation types.
103 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
106 MEDIA_CONTENT_ORIENTATION_NOT_AVAILABLE = 0, /**< Not available*/
107 MEDIA_CONTENT_ORIENTATION_NORMAL = 1, /**< Normal*/
108 MEDIA_CONTENT_ORIENTATION_HFLIP = 2, /**< Flip horizontal*/
109 MEDIA_CONTENT_ORIENTATION_ROT_180 = 3, /**< Rotate 180 degrees*/
110 MEDIA_CONTENT_ORIENTATION_VFLIP = 4, /**< Flip vertical*/
111 MEDIA_CONTENT_ORIENTATION_TRANSPOSE = 5, /**< Transpose*/
112 MEDIA_CONTENT_ORIENTATION_ROT_90 = 6, /**< Rotate 90 degrees*/
113 MEDIA_CONTENT_ORIENTATION_TRANSVERSE = 7, /**< Transverse*/
114 MEDIA_CONTENT_ORIENTATION_ROT_270 = 8, /**< Rotate 270 degrees*/
115 } media_content_orientation_e;
118 * @ingroup CAPI_MEDIA_CONTENT_MODULE
119 * @brief Enumeration for ordering.
120 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
123 MEDIA_CONTENT_ORDER_ASC = 0, /**< Ascending order*/
124 MEDIA_CONTENT_ORDER_DESC = 1, /**< Descending order*/
125 MEDIA_CONTENT_ORDER_OTHER = 2, /** order by order key**/
126 } media_content_order_e;
129 * @ingroup CAPI_MEDIA_CONTENT_MODULE
130 * @brief Enumeration for collations.
131 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
134 MEDIA_CONTENT_COLLATE_DEFAULT = 0, /**< Default collation BINARY */
135 MEDIA_CONTENT_COLLATE_NOCASE = 1, /**< Collation NOCASE, not case sensitive */
136 MEDIA_CONTENT_COLLATE_RTRIM = 2, /**< Collation RTRIM, trailing space characters are ignored */
137 MEDIA_CONTENT_COLLATE_LOCALIZED = 3, /**< Collation LOCALIZATION, NOCASE also applied */
138 } media_content_collation_e;
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_BURST_IMAGE, /**< Media group ID for the burst shot (Deprecated since 4.0)*/
187 MEDIA_CONTENT_GROUP_RATING, /**< Media group ID for a rating*/
188 MEDIA_CONTENT_GROUP_AUTHOR, /**< Media group ID for an author (Deprecated since 4.0)*/
189 MEDIA_CONTENT_GROUP_PROVIDER, /**< Media group ID for a provider (Deprecated since 4.0)*/
190 MEDIA_CONTENT_GROUP_CONTENT_NAME, /**< Media group ID for the content name (Deprecated since 4.0)*/
191 MEDIA_CONTENT_GROUP_CATEGORY, /**< Media group ID for a category (Deprecated since 4.0)*/
192 MEDIA_CONTENT_GROUP_LOCATION_TAG, /**< Media group ID for a location tag (Deprecated since 4.0)*/
193 MEDIA_CONTENT_GROUP_AGE_RATING, /**< Media group ID for an age rating (Deprecated since 4.0)*/
194 MEDIA_CONTENT_GROUP_KEYWORD, /**< Media group ID for a keyword (Deprecated since 4.0)*/
195 MEDIA_CONTENT_GROUP_WEATHER, /**< Media group ID for the weather (Deprecated since 4.0)*/
196 MEDIA_CONTENT_GROUP_MODIFIED_MONTH, /**< Media group ID for the modified time*/
197 MEDIA_CONTENT_GROUP_MODIFIED_DATE, /**< Media group ID for the modified date*/
198 #ifdef _USE_SENIOR_MODE
199 MEDIA_CONTENT_GROUP_CONTACT,
201 MEDIA_CONTENT_GROUP_ALBUM,
202 MEDIA_CONTENT_GROUP_MAX, /**< Invalid media group ID*/
203 MEDIA_PVR_GROUP_DURATION,
204 MEDIA_PVR_GROUP_TIME_ZONE,
206 MEDIA_PVR_GROUP_MAJOR,
207 MEDIA_PVR_GROUP_MINOR,
208 MEDIA_PVR_GROUP_CHANNEL_TYPE,
209 MEDIA_PVR_GROUP_CHANNEL_NAME,
210 MEDIA_PVR_GROUP_CHANNEL_NUM,
211 MEDIA_PVR_GROUP_PROGRAM_TITLE,
212 MEDIA_PVR_GROUP_PROGRAM_NUM,
213 MEDIA_PVR_GROUP_PROGRAM_CRID,
214 MEDIA_PVR_GROUP_GUIDANCE,
215 MEDIA_PVR_GROUP_SYNOPSIS,
216 MEDIA_PVR_GROUP_GENRE,
217 MEDIA_PVR_GROUP_LANGUAGE,
218 MEDIA_PVR_GROUP_EMBARGO_TIME,
219 MEDIA_PVR_GROUP_EXPIRY_TIME,
220 MEDIA_PVR_GROUP_START_TIME,
221 MEDIA_PVR_GROUP_PROGRAM_START_TIME,
222 MEDIA_PVR_GROUP_PROGRAM_END_TIME,
223 MEDIA_PVR_GROUP_PROGRAM_DATE,
224 MEDIA_PVR_GROUP_PARENTAL_RATING,
225 MEDIA_PVR_GROUP_TIMER_RECORD,
226 MEDIA_PVR_GROUP_SERIES_RECORD,
228 MEDIA_PVR_GROUP_SUBTITLE,
231 MEDIA_PVR_GROUP_HARDOF_HEARINGRADIO,
232 MEDIA_PVR_GROUP_DATA_SERVICE,
233 MEDIA_PVR_GROUP_CONTENT_LOCK,
234 MEDIA_PVR_GROUP_CONTENT_WATCH,
235 MEDIA_PVR_GROUP_HAS_AUDIO_ONLY,
236 MEDIA_PVR_GROUP_IS_LOCAL_RECORDED,
237 MEDIA_PVR_GROUP_RESOLUTION,
238 MEDIA_PVR_GROUP_ASPECTRATIO,
239 MEDIA_PVR_GROUP_MODIFIED_MONTH,
240 MEDIA_PVR_GROUP_MODIFIED_DATE,
241 MEDIA_PVR_GROUP_SPORTS_TYPE,
242 MEDIA_PVR_GROUP_GUIDANCE_LENGTH,
243 MEDIA_PVR_GROUP_TVMODE,
244 MEDIA_PVR_GROUP_PLAY_COUNT,
245 MEDIA_PVR_GROUP_PRIVATE_DATA,
247 MEDIA_UHD_GROUP_CONTENT_TITLE,
248 MEDIA_UHD_GROUP_RELEASE_DATE,
249 MEDIA_UHD_GROUP_SUB_TYPE,
250 MEDIA_UHD_GROUP_FILE_NAME,
251 MEDIA_UHD_GROUP_PLAYED_COUNT,
257 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
258 * @brief The structure type for the Media info handle.
259 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
261 typedef struct media_info_s *media_info_h;
264 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
265 * @brief The structure type for the Media folder handle.
266 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
268 typedef struct media_folder_s *media_folder_h;
271 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
272 * @brief The structure type for the Media playlist handle.
273 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
275 typedef struct media_playlist_s *media_playlist_h;
278 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
279 * @brief The structure type for the Media tag handle.
280 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
282 typedef struct media_tag_s *media_tag_h;
285 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
286 * @brief The structure type for the Media bookmark handle.
287 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
289 typedef struct media_bookmark_s *media_bookmark_h;
292 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
293 * @brief The structure type for the Media album handle.
294 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
296 typedef struct media_album_s *media_album_h;
299 * @ingroup CAPI_CONTENT_MEDIA_IMAGE_MODULE
300 * @brief The structure type for the Image metadata handle.
301 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
303 typedef struct image_meta_s *image_meta_h;
306 * @ingroup CAPI_CONTENT_MEDIA_VIDEO_META_MODULE
307 * @brief The structure type for the Video metadata handle.
308 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
310 typedef struct video_meta_s *video_meta_h;
313 * @ingroup CAPI_CONTENT_MEDIA_AUDIO_META_MODULE
314 * @brief The structure type for the Audio metadata handle.
315 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
317 typedef struct audio_meta_s *audio_meta_h;
320 * @ingroup CAPI_CONTENT_MEDIA_FILTER_MODULE
321 * @brief The structure type for the Media filter handle.
322 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
324 typedef struct filter_s *filter_h;
327 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
328 * @brief The structure type for the Media storage handle.
329 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
331 typedef void *media_storage_h;
334 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
335 * @brief The structure type for the Media face handle.
338 typedef void *media_face_h;
341 * @ingroup CAPI_CONTENT_MEDIA_CONTENT_MODULE
342 * @brief The structure type for the Media content noti handle.
345 typedef void *media_content_noti_h;
348 * @ingroup CAPI_MEDIA_CONTENT_MODULE
349 * @brief Called when the media scanning is finished.
350 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
351 * @remarks The callback is called in a separate thread(not in the main loop).
353 * @param[in] error The error code
354 * @param[in] user_data The user data passed from the foreach function
356 * @pre media_content_scan_folder().
357 * @see media_content_scan_folder()
359 typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
362 * @ingroup CAPI_MEDIA_CONTENT_MODULE
363 * @brief Called when the notification of the media DB change is subscribed.
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 type 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 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
426 * @remarks The callback is called in a separate thread(not in the main loop).
428 * @param[in] media The handle to the media info
429 * @param[in] user_data The user data passed from the foreach function
431 * @pre media_info_insert_batch_to_db()
432 * @see media_info_insert_batch_to_db()
434 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
438 * @deprecated Deprecated since 4.0.
439 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
440 * @brief Called when the burst shot is inserted completely.
441 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
443 * @remarks The callback is called in a separate thread(not in the main loop).
445 * @param[in] media The handle to the media info
446 * @param[in] user_data The user data passed from the foreach function
448 * @pre media_info_insert_burst_shot_to_db()
449 * @see media_info_insert_burst_shot_to_db()
452 typedef void (*media_insert_burst_shot_completed_cb)(media_content_error_e error, void * user_data);
456 * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
457 * @brief Called when creating a thumbnail image.
458 * @details This callback is called for completion of generating the thumbnail image.
459 * The following error codes can be delivered. \n
460 * #MEDIA_CONTENT_ERROR_NONE, \n
461 * #MEDIA_CONTENT_ERROR_INVALID_PARAMETER, \n
462 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
463 * #MEDIA_CONTENT_ERROR_PERMISSION_DENIED, \n
464 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
465 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
466 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
468 * @remarks The callback is called in a separate thread(not in the main loop).
470 * @param[in] error The error code
471 * @param[in] path The path of the thumbnail which is generated
472 * @param[in] user_data The user data passed from the foreach function
474 * @pre media_info_create_thumbnail()
475 * @see media_info_create_thumbnail()
477 typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
480 * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
481 * @brief Called when face detection on the image is completed.
483 * @details The following error codes can be delivered. \n
484 * #MEDIA_CONTENT_ERROR_NONE, \n
485 * #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
486 * #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
487 * #MEDIA_CONTENT_ERROR_DB_FAILED, \n
488 * #MEDIA_CONTENT_ERROR_DB_BUSY, \n
489 * #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
493 * @remarks The callback is called in a separate thread(not in the main loop).
495 * @param[in] error The error code
496 * @param[in] face_count The number of all detected faces
497 * @param[in] user_data The user data passed from the foreach function
499 * @pre media_info_start_face_detection()
500 * @see media_info_start_face_detection()
502 typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
506 * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
507 * @brief Called for every available media folder.
508 * @details Iterates over a list of folders.
510 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
512 * @remarks To use the @a folder outside this function, copy the handle with the media_folder_clone() function. \n
513 * The callback is called in the main loop.
515 * @param[in] folder The handle to the media folder
516 * @param[in] user_data The user data passed from the foreach function
518 * @return @c true to continue with the next iteration of the loop,
519 * otherwise @c false to break out of the loop
521 * @pre media_folder_foreach_folder_from_db() will invoke this function.
522 * @see media_folder_clone()
523 * @see media_folder_foreach_folder_from_db()
525 typedef bool (*media_folder_cb)(media_folder_h folder, void *user_data);
528 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
529 * @brief Called for every playlist in the obtained list of playlists.
530 * @details Iterates over a playlist list.
532 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
534 * @remarks To use the @a playlist outside this function, copy the handle with the media_playlist_clone() function. \n
535 * The callback is called in the main loop.
537 * @param[in] playlist The handle to the media playlist
538 * @param[in] user_data The user data passed from the foreach function
540 * @return @c true to continue with the next iteration of the loop,
541 * otherwise @c false to break out of the loop
543 * @pre media_playlist_foreach_playlist_from_db() will invoke this function.
545 * @see media_playlist_clone()
546 * @see media_playlist_foreach_playlist_from_db()
548 typedef bool (*media_playlist_cb)(media_playlist_h playlist, void *user_data);
551 * @ingroup CAPI_CONTENT_MEDIA_PLAYLIST_MODULE
552 * @brief Called for every media info with playlist member ID in the obtained list of media info.
553 * @details Iterates over playlist members.
555 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
557 * @remarks To use the @a media outside this function, copy the handle with the media_info_clone() function. \n
558 * The callback is called in the main loop.
560 * @param[in] playlist_member_id The ID to member of the playlist
561 * @param[in] media The handle to the media info
562 * @param[in] user_data The user data passed from the foreach function
564 * @return @c true to continue with the next iteration of the loop,
565 * otherwise @c false to break out of the loop
567 * @pre media_playlist_foreach_media_from_db() will invoke this function.
569 * @see media_info_clone()
570 * @see media_playlist_foreach_media_from_db()
572 typedef bool (*playlist_member_cb)(int playlist_member_id, media_info_h media, void *user_data);
575 * @ingroup CAPI_CONTENT_MEDIA_TAG_MODULE
576 * @brief Called for every tag in the obtained list of tags.
577 * @details Iterates over a list of tags.
579 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
581 * @remarks To use the @a tag outside this function, copy the handle with the media_tag_clone() function. \n
582 * The callback is called in the main loop.
584 * @param[in] tag The handle to the media tag
585 * @param[in] user_data The user data passed from the foreach function
587 * @return @c true to continue with the next iteration of the loop,
588 * otherwise @c false to break out of the loop
590 * @pre media_tag_foreach_tag_from_db(), media_info_foreach_tag_from_db() will invoke this function.
592 * @see media_tag_clone()
593 * @see media_tag_foreach_tag_from_db()
594 * @see media_info_foreach_tag_from_db()
596 typedef bool (*media_tag_cb)(media_tag_h tag, void *user_data);
599 * @ingroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE
600 * @brief Called for every bookmark in the obtained list of bookmarks.
601 * @details Iterates over a bookmark list.
603 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
605 * @remarks To use the @a bookmark outside this function, copy the handle with the media_bookmark_clone() function. \n
606 * The callback is called in the main loop.
608 * @param[in] bookmark The handle to the video bookmark
609 * @param[in] user_data The user data passed from the foreach function
611 * @return @c true to continue with the next iteration of the loop,
612 * otherwise @c false to break out of the loop
614 * @pre media_info_foreach_bookmark_from_db() will invoke this function.
615 * @see media_info_foreach_bookmark_from_db()
617 typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
620 * @ingroup CAPI_CONTENT_MEDIA_ALBUM_MODULE
621 * @brief Called for every album in the obtained list of groups.
622 * @details Iterates over an album list.
624 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
626 * @remarks To use the @a album outside this function, copy the handle with the media_album_clone() function. \n
627 * The callback is called in the main loop.
629 * @param[in] album The handle to the media album
630 * @param[in] user_data The user data passed from the foreach function
632 * @return @c true to continue with the next iteration of the loop,
633 * otherwise @c false to break out of the loop
635 * @pre media_album_foreach_album_from_db() will invoke this function.
637 * @see media_album_clone()
638 * @see media_album_foreach_album_from_db()
640 typedef bool (*media_album_cb)(media_album_h album, void *user_data);
643 * @ingroup CAPI_CONTENT_MEDIA_GROUP_MODULE
644 * @brief Called for every group in the obtained list of groups.
645 * @details Iterates over a media group list.
647 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
649 * @remarks You should not free @a group_name returned by this function. \n
650 * The callback is called in the main loop.
652 * @param[in] group_name The name of the media group
653 * @param[in] user_data The user data passed from the foreach function
655 * @return @c true to continue with the next iteration of the loop,
656 * otherwise @c false to break out of the loop
658 * @pre media_group_foreach_group_from_db() will invoke this function.
659 * @see media_group_foreach_group_from_db()
661 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
664 * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
665 * @brief Called for every storage in the obtained list of storages.
666 * @details Iterates over a media storage list.
668 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
670 * @remarks You should not destroy @a storage returned by this function. \n
671 * The callback is called in the main loop.
673 * @param[in] storage The handle of the media storage
674 * @param[in] user_data The user data passed from the foreach function
676 * @return @c true to continue with the next iteration of the loop,
677 * otherwise @c false to break out of the loop
679 * @pre media_storage_foreach_storage_from_db() will invoke this function.
680 * @see media_storage_foreach_storage_from_db()
682 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
685 * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
686 * @brief Called for every face in the obtained list of face.
687 * @details Iterates over a media face list.
691 * @remarks You should not destroy @a face returned by this function. \n
692 * The callback is called in the main loop.
694 * @param[in] face The handle of the media face
695 * @param[in] user_data The user data passed from the foreach function
697 * @return @c true to continue with the next iteration of the loop,
698 * otherwise @c false to break out of the loop
700 * @pre media_info_foreach_face_from_db() will invoke this function.
701 * @see media_info_foreach_face_from_db()
703 typedef bool (*media_face_cb)(media_face_h face, void *user_data);
710 * @addtogroup CAPI_CONTENT_MEDIA_FILTER_MODULE
716 * @details 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_ID "MEDIA_ID"
723 * @brief Media full path
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_PATH "MEDIA_PATH"
731 * @brief The file name including the extension
732 * @details You can use above define to set the condition of media filter and order keyword.
733 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
736 #define MEDIA_DISPLAY_NAME "MEDIA_DISPLAY_NAME"
740 * @details There are 5 media types:\n
741 * 0-image, 1-video, 2-sound, 3-music, 4-other\n
742 * You can use above define to set the condition of media filter and order keyword.
743 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
746 #define MEDIA_TYPE "MEDIA_TYPE"
749 * @brief Media MIME type
750 * @details You can use above define to set the condition of media filter and order keyword.
751 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
754 #define MEDIA_MIME_TYPE "MEDIA_MIME_TYPE"
758 * @brief Media file size
759 * @details You can use above define to set the condition of media filter and order keyword.
760 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
763 #define MEDIA_SIZE "MEDIA_SIZE"
766 * @brief The time that content file was first added to media database
767 * @details You can use above define to set the condition of media filter and order keyword.
768 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
771 #define MEDIA_ADDED_TIME "MEDIA_ADDED_TIME"
774 * @brief The last modification time provided by the file system
775 * @details You can use above define to set the condition of media filter and order keyword.
776 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
779 #define MEDIA_MODIFIED_TIME "MEDIA_MODIFIED_TIME"
782 * @brief Media created time
783 * @details You can use above define to set the condition of media filter and order keyword.
784 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
787 #define MEDIA_TIMELINE "MEDIA_TIMELINE"
790 * @brief Media thumbnail path
791 * @details You can use above define to set the condition of media filter and order keyword.
792 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
795 #define MEDIA_THUMBNAIL_PATH "MEDIA_THUMBNAIL_PATH"
798 * @brief Media title get from tag or file name
799 * @details You can use above define to set the condition of media filter and order keyword.
800 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
803 #define MEDIA_TITLE "MEDIA_TITLE"
806 * @brief Media album name
807 * @details You can use above define to set the condition of media filter and order keyword.
808 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
811 #define MEDIA_ALBUM "MEDIA_ALBUM"
814 * @brief Media artist
815 * @details You can use above define to set the condition of media filter and order keyword.
816 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
819 #define MEDIA_ARTIST "MEDIA_ARTIST"
822 * @brief Media album artist
823 * @details You can use above define to set the condition of media filter and order keyword.
824 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
827 #define MEDIA_ALBUM_ARTIST "MEDIA_ALBUM_ARTIST"
831 * @details You can use above define to set the condition of media filter and order keyword.
832 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
835 #define MEDIA_GENRE "MEDIA_GENRE"
838 * @brief Media composer
839 * @details You can use above define to set the condition of media filter and order keyword.
840 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
843 #define MEDIA_COMPOSER "MEDIA_COMPOSER"
847 * @details You can use above define to set the condition of media filter and order keyword.
848 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
851 #define MEDIA_YEAR "MEDIA_YEAR"
854 * @brief Media recorded date
855 * @details You can use above define to set the condition of media filter and order keyword.
856 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
859 #define MEDIA_RECORDED_DATE "MEDIA_RECORDED_DATE"
862 * @brief Media copyright
863 * @details You can use above define to set the condition of media filter and order keyword.
864 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
867 #define MEDIA_COPYRIGHT "MEDIA_COPYRIGHT"
870 * @brief Media track number
871 * @details You can use above define to set the condition of media filter and order keyword.
872 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
875 #define MEDIA_TRACK_NUM "MEDIA_TRACK_NUM"
878 * @brief Media description
879 * @details You can use above define to set the condition of media filter and order keyword.
880 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
883 #define MEDIA_DESCRIPTION "MEDIA_DESCRIPTION"
886 * @brief Media bitrate
887 * @details You can use above define to set the condition of media filter and order keyword.
888 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
891 #define MEDIA_BITRATE "MEDIA_BITRATE"
894 * @brief Media bit per sample
895 * @details You can use above define to set the condition of media filter and order keyword.
896 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
899 #define MEDIA_BITPERSAMPLE "MEDIA_BITPERSAMPLE"
902 * @brief Media sample rate
903 * @details You can use above define to set the condition of media filter and order keyword.
904 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
907 #define MEDIA_SAMPLERATE "MEDIA_SAMPLERATE"
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"
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 * @brief Media orientation
975 * @details You can use above define to set the condition of media filter and order keyword.
976 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
979 #define MEDIA_ORIENTATION "MEDIA_ORIENTATION"
982 * @deprecated Deprecated since 4.0.
983 * @brief Media burst ID
984 * @details You can use above define to set the condition of media filter and order keyword.
985 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
988 #define MEDIA_BURST_ID "BURST_ID"
991 * @deprecated Deprecated since 4.0.
992 * @brief Media playedcount
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_PLAYED_COUNT "MEDIA_PLAYED_COUNT"
1000 * @deprecated Deprecated since 4.0.
1001 * @brief Media last played time
1002 * @details You can use above define to set the condition of media filter and order keyword.
1003 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1006 #define MEDIA_LAST_PLAYED_TIME "MEDIA_LAST_PLAYED_TIME"
1009 * @deprecated Deprecated since 4.0.
1010 * @brief Media last played position of file
1011 * @details You can use above define to set the condition of media filter and order keyword.
1012 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1015 #define MEDIA_LAST_PLAYED_POSITION "MEDIA_LAST_PLAYED_POSITION"
1018 * @brief Media rating
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_RATING "MEDIA_RATING"
1026 * @brief The time to register favourite
1027 * @details You can use above define to set the condition of media filter and order keyword.
1028 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1031 #define MEDIA_FAVOURITE "MEDIA_FAVOURITE"
1034 * @deprecated Deprecated since 4.0.
1035 * @brief Media author
1036 * @details You can use above define to set the condition of media filter and order keyword.
1037 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1040 #define MEDIA_AUTHOR "MEDIA_AUTHOR"
1043 * @deprecated Deprecated since 4.0.
1044 * @brief Media provider
1045 * @details You can use above define to set the condition of media filter and order keyword.
1046 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1049 #define MEDIA_PROVIDER "MEDIA_PROVIDER"
1052 * @deprecated Deprecated since 4.0.
1053 * @brief Media content name
1054 * @details You can use above define to set the condition of media filter and order keyword.
1055 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1058 #define MEDIA_CONTENT_NAME "MEDIA_CONTENT_NAME"
1061 * @deprecated Deprecated since 4.0.
1062 * @brief Media category
1063 * @details You can use above define to set the condition of media filter and order keyword.
1064 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1067 #define MEDIA_CATEGORY "MEDIA_CATEGORY"
1070 * @deprecated Deprecated since 4.0.
1071 * @brief Media location tag
1072 * @details You can use above define to set the condition of media filter and order keyword.
1073 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1076 #define MEDIA_LOCATION_TAG "MEDIA_LOCATION_TAG"
1079 * @deprecated Deprecated since 4.0.
1080 * @brief Media age rating
1081 * @details You can use above define to set the condition of media filter and order keyword.
1082 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1085 #define MEDIA_AGE_RATING "MEDIA_AGE_RATING"
1088 * @deprecated Deprecated since 4.0.
1089 * @brief Media keyword
1090 * @details You can use above define to set the condition of media filter and order keyword.
1091 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1094 #define MEDIA_KEYWORD "MEDIA_KEYWORD"
1097 * @deprecated Deprecated since 4.0.
1098 * @brief Media weather
1099 * @details You can use above define to set the condition of media filter and order keyword.
1100 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1103 #define MEDIA_WEATHER "MEDIA_WEATHER"
1107 * @details There are 2 types:\n
1108 * 0-not drm, 1-drm\n
1109 * You can use above define to set the condition of media filter and order keyword.
1110 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1113 #define MEDIA_IS_DRM "MEDIA_IS_DRM"
1116 * @brief Media storage
1117 * @details There are 2 types:\n
1118 * 0-internal storage, 1-external storage\n
1119 * You can use above define to set the condition of media filter and order keyword.
1120 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1123 #define MEDIA_STORAGE_TYPE "MEDIA_STORAGE_TYPE"
1126 * @brief Media exposure time
1127 * @details You can use above define to set the condition of media filter and order keyword.
1128 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1131 #define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME"
1134 * @brief Media fnumber
1135 * @details You can use above define to set the condition of media filter and order keyword.
1136 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1139 #define MEDIA_FNUMBER "MEDIA_FNUMBER"
1143 * @details You can use above define to set the condition of media filter and order keyword.
1144 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1147 #define MEDIA_ISO "MEDIA_ISO"
1150 * @brief Media model
1151 * @details You can use above define to set the condition of media filter and order keyword.
1152 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1155 #define MEDIA_MODEL "MEDIA_MODEL"
1158 * @brief Media file name pinyin
1159 * @details You can use above define to set the condition of media filter and order keyword.
1160 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1161 * @remarks Since 4.0, this keyword is related to the following feature:\n
1162 * - %http://tizen.org/feature/content.filter.pinyin\n
1163 * If this feature is not supported on the device, PINYIN search does not work.
1166 #define MEDIA_FILE_NAME_PINYIN "MEDIA_FILE_NAME_PINYIN"
1169 * @brief Media title pinyin
1170 * @details You can use above define to set the condition of media filter and order keyword.
1171 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1172 * @remarks Since 4.0, this keyword is related to the following feature:\n
1173 * - %http://tizen.org/feature/content.filter.pinyin\n
1174 * If this feature is not supported on the device, PINYIN search does not work.
1177 #define MEDIA_TITLE_PINYIN "MEDIA_TITLE_PINYIN"
1180 * @brief Media album pinyin
1181 * @details You can use above define to set the condition of media filter and order keyword.
1182 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1183 * @remarks Since 4.0, this keyword is related to the following feature:\n
1184 * - %http://tizen.org/feature/content.filter.pinyin\n
1185 * If this feature is not supported on the device, PINYIN search does not work.
1188 #define MEDIA_ALBUM_PINYIN "MEDIA_ALBUM_PINYIN"
1191 * @brief Media artist pinyin
1192 * @details You can use above define to set the condition of media filter and order keyword.
1193 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1194 * @remarks Since 4.0, this keyword is related to the following feature:\n
1195 * - %http://tizen.org/feature/content.filter.pinyin\n
1196 * If this feature is not supported on the device, PINYIN search does not work.
1199 #define MEDIA_ARTIST_PINYIN "MEDIA_ARTIST_PINYIN"
1202 * @brief Media album artist pinyin
1203 * @details You can use above define to set the condition of media filter and order keyword.
1204 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1205 * @remarks Since 4.0, this keyword is related to the following feature:\n
1206 * - %http://tizen.org/feature/content.filter.pinyin\n
1207 * If this feature is not supported on the device, PINYIN search does not work.
1210 #define MEDIA_ALBUM_ARTIST_PINYIN "MEDIA_ALBUM_ARTIST_PINYIN"
1213 * @brief Media genre pinyin
1214 * @details You can use above define to set the condition of media filter and order keyword.
1215 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1216 * @remarks Since 4.0, this keyword is related to the following feature:\n
1217 * - %http://tizen.org/feature/content.filter.pinyin\n
1218 * If this feature is not supported on the device, PINYIN search does not work.
1221 #define MEDIA_GENRE_PINYIN "MEDIA_GENRE_PINYIN"
1224 * @brief Media composer pinyin
1225 * @details You can use above define to set the condition of media filter and order keyword.
1226 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1227 * @remarks Since 4.0, this keyword is related to the following feature:\n
1228 * - %http://tizen.org/feature/content.filter.pinyin\n
1229 * If this feature is not supported on the device, PINYIN search does not work.
1232 #define MEDIA_COMPOSER_PINYIN "MEDIA_COMPOSER_PINYIN"
1235 * @brief Media copyright pinyin
1236 * @details You can use above define to set the condition of media filter and order keyword.
1237 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1238 * @remarks Since 4.0, this keyword is related to the following feature:\n
1239 * - %http://tizen.org/feature/content.filter.pinyin\n
1240 * If this feature is not supported on the device, PINYIN search does not work.
1243 #define MEDIA_COPYRIGHT_PINYIN "MEDIA_COPYRIGHT_PINYIN"
1246 * @brief Media description pinyin
1247 * @details You can use above define to set the condition of media filter and order keyword.
1248 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1249 * @remarks Since 4.0, this keyword is related to the following feature:\n
1250 * - %http://tizen.org/feature/content.filter.pinyin\n
1251 * If this feature is not supported on the device, PINYIN search does not work.
1254 #define MEDIA_DESCRIPTION_PINYIN "MEDIA_DESCRIPTION_PINYIN"
1257 * @deprecated Deprecated since 4.0.
1258 * @brief Media author pinyin
1259 * @details You can use above define to set the condition of media filter and order keyword.
1260 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1261 * @remarks Since 4.0, this keyword is related to the following feature:\n
1262 * - %http://tizen.org/feature/content.filter.pinyin\n
1263 * If this feature is not supported on the device, PINYIN search does not work.
1266 #define MEDIA_AUTHOR_PINYIN "MEDIA_AUTHOR_PINYIN"
1269 * @deprecated Deprecated since 4.0.
1270 * @brief Media provider pinyin
1271 * @details You can use above define to set the condition of media filter and order keyword.
1272 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1273 * @remarks Since 4.0, this keyword is related to the following feature:\n
1274 * - %http://tizen.org/feature/content.filter.pinyin\n
1275 * If this feature is not supported on the device, PINYIN search does not work.
1278 #define MEDIA_PROVIDER_PINYIN "MEDIA_PROVIDER_PINYIN"
1281 * @deprecated Deprecated since 4.0.
1282 * @brief Media content name pinyin
1283 * @details You can use above define to set the condition of media filter and order keyword.
1284 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1285 * @remarks Since 4.0, this keyword is related to the following feature:\n
1286 * - %http://tizen.org/feature/content.filter.pinyin\n
1287 * If this feature is not supported on the device, PINYIN search does not work.
1290 #define MEDIA_CONTENT_NAME_PINYIN "MEDIA_CONTENT_NAME_PINYIN"
1293 * @deprecated Deprecated since 4.0.
1294 * @brief Media category pinyin
1295 * @details You can use above define to set the condition of media filter and order keyword.
1296 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1297 * @remarks Since 4.0, this keyword is related to the following feature:\n
1298 * - %http://tizen.org/feature/content.filter.pinyin\n
1299 * If this feature is not supported on the device, PINYIN search does not work.
1302 #define MEDIA_CATEGORY_PINYIN "MEDIA_CATEGORY_PINYIN"
1305 * @deprecated Deprecated since 4.0.
1306 * @brief Media location tag pinyin
1307 * @details You can use above define to set the condition of media filter and order keyword.
1308 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1309 * @remarks Since 4.0, this keyword is related to the following feature:\n
1310 * - %http://tizen.org/feature/content.filter.pinyin\n
1311 * If this feature is not supported on the device, PINYIN search does not work.
1314 #define MEDIA_LOCATION_TAG_PINYIN "MEDIA_LOCATION_TAG_PINYIN"
1317 * @deprecated Deprecated since 4.0.
1318 * @brief Media age rating pinyin
1319 * @details You can use above define to set the condition of media filter and order keyword.
1320 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1321 * @remarks Since 4.0, this keyword is related to the following feature:\n
1322 * - %http://tizen.org/feature/content.filter.pinyin\n
1323 * If this feature is not supported on the device, PINYIN search does not work.
1326 #define MEDIA_AGE_RATING_PINYIN "MEDIA_AGE_RATING_PINYIN"
1329 * @deprecated Deprecated since 4.0.
1330 * @brief Media keyword pinyin
1331 * @details You can use above define to set the condition of media filter and order keyword.
1332 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1333 * @remarks Since 4.0, this keyword is related to the following feature:\n
1334 * - %http://tizen.org/feature/content.filter.pinyin\n
1335 * If this feature is not supported on the device, PINYIN search does not work.
1338 #define MEDIA_KEYWORD_PINYIN "MEDIA_KEYWORD_PINYIN"
1341 * @brief Virtual Reality content
1342 * @details You can use above define to set the condition of media filter and order keyword.
1346 #define MEDIA_360 "MEDIA_360"
1350 * @details You can use above define to set the condition of folder filter and order keyword.
1351 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1353 #define FOLDER_ID "FOLDER_ID"
1356 * @brief Folder full path
1357 * @details 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_PATH "FOLDER_PATH"
1363 * @brief Folder base name
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
1367 #define FOLDER_NAME "FOLDER_NAME"
1370 * @deprecated Deprecated since 4.0.
1371 * @brief Folder modified time
1372 * @details You can use above define to set the condition of folder filter and order keyword.
1373 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1375 #define FOLDER_MODIFIED_TIME "FOLDER_MODIFIED_TIME"
1378 * @brief Folder storage
1379 * @details There are 2 types:\n
1380 * 0-internal storage, 1-external storage\n
1381 * You can use above define to set the condition of folder filter and order keyword.
1382 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1384 #define FOLDER_STORAGE_TYPE "FOLDER_STORAGE_TYPE"
1387 * @brief Folder base name pinyin
1388 * @details You can use above define to set the condition of folder filter and order keyword.
1389 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1390 * @remarks Since 4.0, this keyword is related to the following feature:\n
1391 * - %http://tizen.org/feature/content.filter.pinyin\n
1392 * If this feature is not supported on the device, PINYIN search does not work.
1394 #define FOLDER_NAME_PINYIN "FOLDER_NAME_PINYIN"
1397 * @deprecated Deprecated since 4.0.
1398 * @brief Folder order info
1399 * @details You can use above define to set the condition of folder filter and order keyword.
1400 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1402 #define FOLDER_ORDER "FOLDER_ORDER"
1405 * @deprecated Deprecated since 4.0.
1406 * @brief Parent folder id
1407 * @details You can use above define to set the condition of folder filter and order keyword.
1408 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1410 #define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID"
1413 * @brief Playlist name
1414 * @details You can use above define to set the condition of playlist filter and order keyword.
1415 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1417 #define PLAYLIST_NAME "PLAYLIST_NAME"
1420 * @brief Playlist id
1421 * @details You can use above define to set the condition of playlist filter and order keyword.
1424 #define MEDIA_PLAYLIST_ID "PLAYLIST_ID"
1427 * @brief Playlist name
1428 * @details You can use above define to set the condition of playlist filter and order keyword.
1429 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1431 #define PLAYLIST_MEMBER_ORDER "PLAYLIST_MEMBER_ORDER"
1434 * @brief Media count in playlist
1435 * @details You can use above define to set the condition of playlist filter and order keyword.
1436 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1438 #define PLAYLIST_MEDIA_COUNT "PLAYLIST_MEDIA_COUNT"
1442 * @details You can use above define to set the condition of tag filter and order keyword.
1443 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1445 #define TAG_NAME "TAG_NAME"
1449 * @details You can use above define to set the condition of tag filter and order keyword.
1452 #define MEDIA_TAG_ID "TAG_ID"
1455 * @brief Media count in tag
1456 * @details You can use above define to set the condition of tag filter and order keyword.
1457 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1459 #define TAG_MEDIA_COUNT "TAG_MEDIA_COUNT"
1462 * @brief Bookmark marked time
1463 * @details You can use above define to set the condition of bookmark filter and order keyword.
1464 * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
1466 #define BOOKMARK_MARKED_TIME "BOOKMARK_MARKED_TIME"
1469 * @brief Bookmark id
1470 * @details You can use above define to set the condition of bookmark filter and order keyword.
1473 #define MEDIA_BOOKMARK_ID "BOOKMARK_ID"
1476 * @brief Bookmark name
1477 * @details You can use above define to set the condition of bookmark filter and order keyword.
1480 #define BOOKMARK_NAME "BOOKMARK_NAME"
1484 * @details You can use above define to set the condition of storage filter and order keyword.
1485 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1487 #define MEDIA_STORAGE_ID "STORAGE_ID"
1490 * @brief Storage path
1491 * @details You can use above define to set the condition of storage filter and order keyword.
1492 * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
1494 #define MEDIA_STORAGE_PATH "STORAGE_PATH"
1498 * @details You can use above define to set the condition of face filter and order keyword.
1501 #define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
1505 * @details You can use above define to set the condition of face filter and order keyword.
1508 #define MEDIA_FACE_ID "MEDIA_FACE_ID"
1517 #endif /* __cplusplus */
1520 #endif /*__TIZEN_MEDIA_CONTENT_TYPE_H__*/