MEDIA_GROUP_MAX,
} media_group_e;
+typedef struct {
+ char *storage_id;
+ char *storage_path;
+ int storage_type;
+} media_storage_s;
+
+/**
+ * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
+ * @deprecated Deprecated since 5.0.
+ * @brief The structure type for the Media storage handle.
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ */
+typedef void *media_storage_h;
+
/**
* @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
* @brief The structure type for the Media info handle.
typedef bool (*media_group_cb)(const char *group_name, void *user_data);
/**
+ * @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
+ * @brief Called for every storage in the obtained list of storages.
+ * @details Iterates over a media storage list.
+ *
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
+ *
+ * @remarks You should not destroy @a storage returned by this function. \n
+ * The callback is called in the main loop.
+ *
+ * @param[in] storage The handle of the media storage
+ * @param[in] user_data The user data passed from the foreach function
+ *
+ * @return @c true to continue with the next iteration of the loop,
+ * 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);
+
+/**
* @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
* @brief Called for every face in the obtained list of face.
* @details Iterates over a media face list.