/**
* @brief Requests to cancel the media folder scanning.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] path The folder path
*
/**
* @ingroup CAPI_MEDIA_CONTENT_MODULE
* @brief Enumeration for a media storage scan status.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef enum{
MEDIA_STORAGE_SCAN_NONE = 0, /**< Media Scanner not detect storage yet*/
/**
* @internal
* @brief Insert media storage to database.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage using media_storage_destroy().
*
/**
* @internal
* @brief Deletes the database for media storage.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @privlevel platform
* @privilege %http://tizen.org/privilege/content.write
/**
* @brief Gets the storage account of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_account using free().
*
/**
* @internal
* @brief Sets the MIME type of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] mime_type The MIME type of the media info
/**
* @internal
* @brief Sets the thumbnail path of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] thumbnail_path The thumbnail path of media info handle
/**
* @internal
* @brief Sets the size of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] size The size of media info handle
/**
* @internal
* @brief Sets the modified time of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] modified_time The modified time of media info handle
/**
* @internal
* @brief Sets the media type of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] type The media type of media info handle
/**
* @internal
* @brief Sets the duration of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] duration The duration of media info handle
/**
* @internal
* @brief Sets the width of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] width The width of media info handle
/**
* @internal
* @brief Sets the height of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] height The height of media info handle
/**
* @internal
* @brief Sets the storage type of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] storage_type The storage type of media info handle
/**
* @internal
* @brief Sets the storage type of media info handle.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The media info handle
* @param[in] storage_id The storage id of media info handle
/**
* @brief Gets the storage scan status of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] storage The media storage handle
* @param[out] scan_status The storage type of the media storage
* @details This function subscribes notifications of the media DB change which are published by the media server or other apps.
* media_content_db_update_cb() function will be called when notification of the media DB change is subscribed.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] callback The callback to be invoked when the scanning is finished
* @param[in] user_data The user data to be passed to the callback function
* @brief Unsubscribes notifications of the media DB change.
* @details This function unsubscribes notifications of the media DB change which are published by the media server or other apps.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @return @c 0 on success,
* otherwise a negative error value
/**
* @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
* @brief The structure type for the Media storage handle.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
typedef void *media_storage_h;
/**
* @ingroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
* @brief Called for every storage in the obtained list of storages.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @details Iterates over a media storage list.
*
/**
* @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
*/
#define MEDIA_EXPOSURE_TIME "MEDIA_EXPOSURE_TIME" /**< media exposure_time*/
/**
* @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
*/
#define MEDIA_FNUMBER "MEDIA_FNUMBER" /**< media fnumber*/
/**
* @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
*/
#define MEDIA_ISO "MEDIA_ISO" /**< media iso*/
/**
* @brief You can use above define to set the condition of media filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
*/
#define MEDIA_MODEL "MEDIA_MODEL" /**< media model*/
/**
* @brief You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define FOLDER_ORDER "FOLDER_ORDER" /**< Folder order info */
/**
* @brief You can use above define to set the condition of folder filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define FOLDER_PARENT_FOLDER_ID "FOLDER_PARENT_FOLDER_ID" /**< parent folder id */
* @addtogroup CAPI_CONTENT_MEDIA_STORAGE_MODULE
* @{
* @brief You can use above define to set the condition of storage filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define MEDIA_STORAGE_ID "STORAGE_ID" /**< Storage ID */
/**
* @brief You can use above define to set the condition of storage filter and order keyword.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*/
#define MEDIA_STORAGE_PATH "STORAGE_PATH" /**< Storage path */
* @brief Sets the @a storage id for the given @a filter.
* @details You can use this API when you want to search items only in the specific storage
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] filter The handle to the media filter
* @param[in] storage_id The storage_id for browsing or searching
/**
* @brief Get the @a storage id for given @a filter.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_id using free().
*
/**
* @brief Gets the parent folder ID.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a parent_folder_id using free().
*
/**
* @brief Gets the storage id of the folder.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_id using free().
*
/**
* @brief Gets the folder viewing order.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] folder The handle to the media folder
* @param[out] order The viewing order of the media folder
* @details If you set the order value for each folder, you can sort in ascending or descending order as the set order values using the filter. \n
* Moreover, more detailed settings are possible when used with the filter. \n
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
* @remarks If you don't set the order value, the order value will be set default value. Default is 0. \n
* If you don't use the filter, the set order value does not effect the folder viewing order.
*
/**
* @brief Gets the exposure time from exif.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks @a exposure time must be released with free() by you.
*
/**
* @brief Gets the fnumber from exif.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The handle toimage metadata
* @param[out] fnumber The value of fnumber, getting from exif
/**
* @brief Gets the iso from exif.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] media The handle toimage metadata
* @param[out] iso The value of iso, getting from exif
/**
* @brief Gets the model from exif.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks @a model must be released with free() by you.
*
/**
* @brief Gets the storage id of media info.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_id using free().
*
/**
* @brief Gets number which represents how many times given content has been played.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param [in] media The handle to media info
* @param [out] count_played The counter of content played
* @brief Gets the content's played time parameter.
* @details Function returns content's elapsed playback time parameter as period
* starting from the beginning of the track.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param [in] media The handle to media info
* @param [out] played_time The elapsed time of the content
/**
* @brief Increments the played count to content meta handle.
* @detalis You can increase the played(opened) count of the media file.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param [in] media The handle to media info
*
/**
* @brief Sets the played time to content meta handle.
* @detalis You can set the latest played(opened) time of the media file. the latest played time to be set the current time on the system.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param [in] media The handle to media info
*
/**
* @brief Imports the playlist from m3u playlist file.
* @details This api reads a playlist from the m3u playlist file and insert into the db.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @privlevel public
* @privilege %http://tizen.org/privilege/content.write
/**
* @brief Exports the playlist to m3u playlist file.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage. \n
* http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage. \n
/**
* @brief Gets media storage from database.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release the handle using media_storage_destroy(). \n
*
/**
* @brief Gets the count of media storage for the passed @a filter from the media database.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] filter The handle to filter
* @param[out] storage_count The count of storage
* The @a callback function will be invoked for every retrieved media storage.
* If @c NULL is passed to the @a filter, then no filtering is applied.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] filter The media storage handle filter
* @param[in] callback The callback function to be invoked
/**
* @brief Gets the count of media files for the passed @a filter in the given @a storage from the media database.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] storage_id The ID of the media storage
* @param[in] filter The filter of the media content
* meeting desired filter option and calls registered callback function for
* every retrieved media item. If @c NULL is passed to the @a filter, no filtering is applied.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks Do not call updating DB function like media_info_update_to_db(), media_info_refresh_metadata_to_db(), audio_meta_update_to_db(), image_meta_update_to_db() and video_meta_update_to_db() in your callback function,
* your callback function is invoked as inline function. \n
* can no longer be used to perform any operation. New media storage handle has to
* be created before the next usage.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] storage The media storage handle
*
* available through media storage foreach function such as media_storage_foreach_storage_from_db().
* To use this handle outside of these foreach functions, use this function.
*
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release the destination handle using media_storage_destroy().
*
/**
* @brief Gets the storage id of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_id using free().
*
/**
* @brief Gets the storage name of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_name using free().
* If the requested storage is not the cloud storage, this API returns NULL.
/**
* @brief Gets the storage path of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @remarks You must release @a storage_path using free().
*
/**
* @brief Gets the storage type of media storage.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
*
* @param[in] storage The media storage handle
* @param[out] storage_type The storage type of the media storage