Fix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED 15/168115/1 accepted/tizen/unified/20180125.122840 submit/tizen/20180125.001258
authorhj kim <backto.kim@samsung.com>
Wed, 24 Jan 2018 07:50:48 +0000 (16:50 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 24 Jan 2018 07:50:48 +0000 (16:50 +0900)
Change-Id: I34748e38e8a6ae2152b84650be4124e963769e50

include/media_controller_client.h

index 9b25e7a..908e147 100755 (executable)
@@ -413,6 +413,7 @@ int mc_client_unset_repeat_mode_update_cb(mc_client_h client);
  *         otherwise a negative error value
  * @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
  * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
  * @pre Create a media controller client handle by calling mc_client_create()
  * @pre Set the callback for monitoring status of the media controller server
  * @post Unsubscribe the media controller server for monitoring status by calling mc_client_unsubscribe()
@@ -440,6 +441,7 @@ int mc_client_subscribe(mc_client_h client, mc_subscription_type_e subscription_
  *         otherwise a negative error value
  * @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
  * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
  * @pre Create a media controller client handle by calling mc_client_create()
  * @pre Subscribe the media controller server for monitoring status by calling mc_client_subscribe()
  * @see mc_client_create()
@@ -462,6 +464,7 @@ int mc_client_unsubscribe(mc_client_h client, mc_subscription_type_e subscriptio
  *         otherwise a negative error value
  * @retval #MEDIA_CONTROLLER_ERROR_NONE Successful
  * @retval #MEDIA_CONTROLLER_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Permission denied
  * @pre Create a media controller client handle by calling mc_client_create()
  * @pre Subscribe the media controller server for monitoring status by calling mc_client_subscribe()
  * @see mc_client_create()
@@ -473,6 +476,9 @@ int mc_client_foreach_server_subscribed(mc_client_h client, mc_subscription_type
  * @brief Gets the playback state.
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/mediacontroller.client
+ *
  * @remarks The @a playback should be released using @c mc_client_destroy_playback().
  *
  * @param[in] playback    The handle to playback
@@ -491,6 +497,9 @@ int mc_client_get_playback_state(mc_playback_h playback, mc_playback_states_e *s
  * @brief Gets the playback position.
  * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
  *
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/mediacontroller.client
+ *
  * @remarks The @a playback should be released using @c mc_client_destroy_playback().
  *
  * @param[in] playback    The handle to playback