*
* @remarks The @a dst should be released using @c mc_metadata_destroy().
*
- * @param[in] src The source handle to the media controller metadata
- * @param[out] dst The destination handle to the media controller metadata
+ * @param[in] src The source handle of the media controller metadata
+ * @param[out] dst The destination handle of the media controller metadata
*
* @return @c 0 on success,
* otherwise a negative error value
* @remarks The @a value should be released using free(). \n
* If the attribute value of the metadata is empty, return value is NULL.
*
- * @param[in] metadata The handle to metadata
+ * @param[in] metadata The handle of the media controller metadata
* @param[in] attribute The key attribute name to get
* @param[out] value The value of the attribute
*
*
* @remarks The @a dst should be released using @c mc_playback_ability_destroy().
*
- * @param[in] src The source handle to the playback ability
- * @param[out] dst The destination handle to the playback ability
+ * @param[in] src The source handle of the playback ability
+ * @param[out] dst The destination handle of the playback ability
*
* @return @c 0 on success,
* otherwise a negative error value
*
* @remarks If the ability's support is not set, the result value is #MC_ABILITY_SUPPORTED_UNDECIDED.
*
- * @param[in] ability The handle to ability
+ * @param[in] ability The handle of the playback ability
* @param[in] action The playback action to get
* @param[out] supported The support value of the ability
*
*
* @remarks The @a search should be released using @c mc_search_destroy().
*
- * @param[out] search The handle to search
+ * @param[out] search The handle of the media controller search
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
* But it's not allowed to set more than 20 conditions. If you try to set more than 20 conditions, this function will return #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER.
* @since_tizen 5.0
*
- * @param[in] search The handle to search
+ * @param[in] search The handle of the media controller search
* @param[in] content_type The content type to search
* @param[in] category The category to search
* @param[in] search_keyword The key word to search
/**
* @brief Destroys search.
* @since_tizen 5.0
- * @param[in] search The handle to search
+ * @param[in] search The handle of the media controller search
* @return @c 0 on success,
* otherwise a negative error value
* @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
int mc_search_destroy(mc_search_h search);
/**
+ * @brief Gets the number of conditions to search.
+ * @since_tizen 5.5
+ *
+ * @param[in] search The handle of the media controller search
+ * @param[out] condition_count The number of conditions.
+ *
+ * @return @c 0 on success,
+ * otherwise a negative error value
+ *
+ * @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
+ * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ *
+ * @see mc_search_create()
+ * @see mc_search_set_condition()
+ * @see mc_search_foreach_condition()
+ */
+int mc_search_get_condition_count(mc_search_h search, int *condition_count);
+
+/**
* @brief Retrieves all search conditions.
* @details This function gets all search conditions set.
* The callback function will be invoked for every retrieved search condition.
* If there were no search conditions set with mc_search_set_condition(), this function will return #MEDIA_CONTROLLER_ERROR_NONE, and the callback will not be invoked.
* @since_tizen 5.0
*
- * @param[in] search The handle to search
+ * @param[in] search The handle of the media controller search
* @param[in] callback The callback function to be invoked.
* @param[in] user_data The user data to be passed to the callback function
*
*
* @remarks The @a dst should be released using @c mc_search_destroy().
*
- * @param[in] src The source handle to the media controller search
- * @param[out] dst The destination handle to the media controller search
+ * @param[in] src The source handle of the media controller search
+ * @param[out] dst The destination handle of the media controller search
*
* @return @c 0 on success,
* otherwise a negative error value