From: hj kim Date: Wed, 24 Jan 2018 07:50:48 +0000 (+0900) Subject: Fix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED X-Git-Tag: accepted/tizen/unified/20180125.122840^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=800932efd9cc7b9e207df3b13537ae9d868c6049;p=platform%2Fcore%2Fapi%2Fmedia-controller.git Fix wrong description for MEDIA_CONTROLLER_ERROR_PERMISSION_DENIED Change-Id: I34748e38e8a6ae2152b84650be4124e963769e50 --- diff --git a/include/media_controller_client.h b/include/media_controller_client.h index 9b25e7a..908e147 100755 --- a/include/media_controller_client.h +++ b/include/media_controller_client.h @@ -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