diff options
author | pr.jung <pr.jung@samsung.com> | 2015-09-24 10:51:47 +0900 |
---|---|---|
committer | Taeyoung Kim <ty317.kim@samsung.com> | 2015-11-11 21:36:37 -0800 |
commit | dd30bb251af8401184335c260f868aa87d402411 (patch) | |
tree | 2bc235c5c13359711c1f972541eb133acfcf741b /include | |
parent | 9f40ef7e7b6f4c08e61626f5b839ae7d32555340 (diff) | |
download | libsvi-dd30bb251af8401184335c260f868aa87d402411.tar.gz libsvi-dd30bb251af8401184335c260f868aa87d402411.tar.bz2 libsvi-dd30bb251af8401184335c260f868aa87d402411.zip |
Add and modify remarks for initialize and deinitialize function
Change-Id: Ia013ce6db413452e1c1a94048b2af1a22305ff98
Signed-off-by: pr.jung <pr.jung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/feedback.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/feedback.h b/include/feedback.h index 4a74f01..7894597 100644 --- a/include/feedback.h +++ b/include/feedback.h @@ -58,6 +58,9 @@ typedef enum * * @remarks * If this function is not called in advance, other function will return #FEEDBACK_ERROR_NOT_INITIALIZED. + * And for controlling haptic device, the privilege should be set to, %http://tizen.org/privilege/haptic. + * If you don't have the haptic privilege, this function initializes only sound. + * It does not return any error in this case. * * @return 0 on success, otherwise a negative error value. * @retval #FEEDBACK_ERROR_NONE Successful @@ -74,6 +77,12 @@ int feedback_initialize(void); * * @since_tizen 2.4 * + * @remarks + * If you don't want to use feedback anymore, you need to deinitialize with this function. + * And for controlling haptic device, the privilege should be set to, %http://tizen.org/privilege/haptic. + * If you don't have the haptic privilege, this function deinitializes only sound. + * It does not return any error in this case. + * * @return 0 on success, otherwise a negative error value. * @retval #FEEDBACK_ERROR_NONE Successful * @retval #FEEDBACK_ERROR_NOT_INITIALIZED Not initialized |