Updated noti set/unset api document 41/60541/4 accepted/tizen/common/20160303.110154 accepted/tizen/ivi/20160305.085854 accepted/tizen/mobile/20160305.085803 accepted/tizen/tv/20160305.085819 accepted/tizen/wearable/20160305.085838 submit/tizen/20160303.013045
authorWootak Jung <wootak.jung@samsung.com>
Mon, 29 Feb 2016 02:11:15 +0000 (11:11 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 29 Feb 2016 07:30:01 +0000 (16:30 +0900)
Change-Id: I8f057ae10c384836966d8cffafcfd751304b0aa1

include/telephony_common.h

index fd32382da9c15d7dee58b70b16bda3a9ab39b424..9215a03a86a4c6d0cdd8638e5c37c0e7f00fa3fd 100644 (file)
@@ -115,6 +115,8 @@ typedef void (*telephony_noti_cb)(telephony_h handle, telephony_noti_e noti_id,
  * @privlevel public
  * @privilege %http://tizen.org/privilege/telephony
  *
+ * @remarks If applications have no corresponding privilege for this API, callback will not be invoked although API returns success.
+ *
  * @param[in] handle  The handle to use the telephony API
  * @param[in] noti_id The notification ID to set the callback
  * @param[in] cb The callback to be invoked when the telephony state changes
@@ -125,7 +127,6 @@ typedef void (*telephony_noti_cb)(telephony_h handle, telephony_noti_e noti_id,
  *
  * @retval #TELEPHONY_ERROR_NONE              Successful
  * @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #TELEPHONY_ERROR_PERMISSION_DENIED Permission denied
  * @retval #TELEPHONY_ERROR_NOT_SUPPORTED     Not supported
  * @retval #TELEPHONY_ERROR_OPERATION_FAILED  Operation failed
  *
@@ -143,6 +144,8 @@ int telephony_set_noti_cb(telephony_h handle,
  * @privlevel public
  * @privilege %http://tizen.org/privilege/telephony
  *
+ * @remarks If applications have no corresponding privilege for this API, callback will not be invoked although API returns success.
+ *
  * @param[in] handle  The handle to use the telephony API
  * @param[in] noti_id The notification ID to unset a callback
  *
@@ -151,7 +154,6 @@ int telephony_set_noti_cb(telephony_h handle,
  *
  * @retval #TELEPHONY_ERROR_NONE              Successful
  * @retval #TELEPHONY_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #TELEPHONY_ERROR_PERMISSION_DENIED Permission denied
  * @retval #TELEPHONY_ERROR_NOT_SUPPORTED     Not supported
  * @retval #TELEPHONY_ERROR_OPERATION_FAILED  Operation failed
  *