Reinforce description of order type 65/229565/3
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 2 Apr 2020 03:28:19 +0000 (12:28 +0900)
committerhj kim <backto.kim@samsung.com>
Fri, 3 Apr 2020 02:20:08 +0000 (02:20 +0000)
Change-Id: Idd86abf81bb335ce0a0d6fae7c31e850078eed3b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
include/media_filter.h
include_product/media_filter.h

index 57216cc..387a3ca 100755 (executable)
@@ -127,6 +127,10 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con
  * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
+ * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n
+ *          Therefore, @a order_keyword must include collation type and order type. \n
+ *          e.g. MEDIA_DISPLAY_NAME COLLATE NOCASE DESC, MEDIA_MODIFIED_TIME DESC
+ *
  * @param[in] filter The handle to the media filter
  * @param[in] order_type The search order type
  * @param[in] order_keyword The search order keyword
index 57216cc..387a3ca 100755 (executable)
@@ -127,6 +127,10 @@ int media_filter_set_condition(filter_h filter, const char *condition, media_con
  * @brief Sets the media filter content @a order_type and @a order_keyword i.e. either descending or ascending.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  *
+ * @remarks If @a order_type set to #MEDIA_CONTENT_ORDER_OTHER, media_filter sorts by referring only to the value of @a order_keyword. \n
+ *          Therefore, @a order_keyword must include collation type and order type. \n
+ *          e.g. MEDIA_DISPLAY_NAME COLLATE NOCASE DESC, MEDIA_MODIFIED_TIME DESC
+ *
  * @param[in] filter The handle to the media filter
  * @param[in] order_type The search order type
  * @param[in] order_keyword The search order keyword