* @param[in] error The error code
* @param[in] user_data The user data passed from the foreach function
*
- * @pre media_content_scan().
- *
- * @see media_content_scan()
- *
+ * @pre media_content_scan_folder().
+ * @see media_content_scan_folder()
*/
typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_insert_batch_to_db()
- *
* @see media_info_insert_batch_to_db()
*/
typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_insert_burst_shot_to_db()
- *
* @see media_info_insert_burst_shot_to_db()
*
*/
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_create_thumbnail()
- *
* @see media_info_create_thumbnail()
*/
typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_start_face_detection()
- *
* @see media_info_start_face_detection()
*/
typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_info_foreach_bookmark_from_db() will invoke this function.
- *
* @see media_info_foreach_bookmark_from_db()
*/
typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_group_foreach_group_from_db() will invoke this function.
- *
* @see media_group_foreach_group_from_db()
*/
typedef bool (*media_group_cb)(const char *group_name, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_storage_foreach_storage_from_db() will invoke this function.
- *
* @see media_storage_foreach_storage_from_db()
*/
typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_info_foreach_face_from_db() will invoke this function.
- *
* @see media_info_foreach_face_from_db()
*/
typedef bool (*media_face_cb)(media_face_h face, void *user_data);
*
* @see media_content_connect()
* @see #media_info_cb
- * @see media_info_filter_create()
+ * @see media_filter_create()
*/
int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, void *user_data);
* @param[in] error The error code
* @param[in] user_data The user data passed from the foreach function
*
- * @pre media_content_scan().
- *
- * @see media_content_scan()
- *
+ * @pre media_content_scan_folder().
+ * @see media_content_scan_folder()
*/
typedef void (*media_scan_completed_cb)(media_content_error_e error, void * user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_insert_batch_to_db()
- *
* @see media_info_insert_batch_to_db()
*/
typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_insert_burst_shot_to_db()
- *
* @see media_info_insert_burst_shot_to_db()
*
*/
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_create_thumbnail()
- *
* @see media_info_create_thumbnail()
*/
typedef void (*media_thumbnail_completed_cb)(media_content_error_e error, const char *path, void *user_data);
* @param[in] user_data The user data passed from the foreach function
*
* @pre media_info_start_face_detection()
- *
* @see media_info_start_face_detection()
*/
typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_info_foreach_bookmark_from_db() will invoke this function.
- *
* @see media_info_foreach_bookmark_from_db()
*/
typedef bool (*media_bookmark_cb)(media_bookmark_h bookmark, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_group_foreach_group_from_db() will invoke this function.
- *
* @see media_group_foreach_group_from_db()
*/
typedef bool (*media_group_cb)(const char *group_name, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_storage_foreach_storage_from_db() will invoke this function.
- *
* @see media_storage_foreach_storage_from_db()
*/
typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
* otherwise @c false to break out of the loop
*
* @pre media_info_foreach_face_from_db() will invoke this function.
- *
* @see media_info_foreach_face_from_db()
*/
typedef bool (*media_face_cb)(media_face_h face, void *user_data);
*
* @see media_content_connect()
* @see #media_info_cb
- * @see media_info_filter_create()
+ * @see media_filter_create()
*/
int media_info_foreach_media_from_db(filter_h filter, media_info_cb callback, void *user_data);