summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhay Agarwal <ay.agarwal@samsung.com>2021-02-03 09:18:40 +0530
committerAbhay Agarwal <ay.agarwal@samsung.com>2021-02-03 09:18:40 +0530
commit9bd1a55c746c1fec08e30ad634f34a14a83458ea (patch)
treee6541abb711690e9d8636017e2e33728adc378b3
parent1c086f8d27381b03ef1cf0bbf4c7322e691a9d65 (diff)
downloaduser-awareness-9bd1a55c746c1fec08e30ad634f34a14a83458ea.tar.gz
user-awareness-9bd1a55c746c1fec08e30ad634f34a14a83458ea.tar.bz2
user-awareness-9bd1a55c746c1fec08e30ad634f34a14a83458ea.zip
Update public API and callback description
Change-Id: I3f92aa4c24a6e10cfcca7a9d77a4b319481749d1 Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
-rwxr-xr-xinclude/user-awareness-type.h6
-rwxr-xr-xinclude/user-awareness.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/include/user-awareness-type.h b/include/user-awareness-type.h
index 01341e5..304004f 100755
--- a/include/user-awareness-type.h
+++ b/include/user-awareness-type.h
@@ -255,6 +255,8 @@ typedef void *ua_device_h;
*
* @param[in] handle The monitor handle for which sensor type was added.
* @param[in] sensor_handle The list of sensor handles on which user is not detected.
+ * @param[in] sensor_type The type of sensor detected.
+ * @param[in] status The status of sensor detected.
* @param[in] user_data The user data passed in ua_monitor_set_sensor_status_cb().
*
* @exception
@@ -325,6 +327,8 @@ typedef void (*ua_scan_completed_cb)(
* @remarks The @a device_handle can be used only in the callback.
* @remarks The @a sensor_handle should not be released.
* @remarks The @a sensor_handle can be used only in the callback.
+ * @remarks The @a service_handle should not be released.
+ * @remarks The @a service_handle can be used only in the callback.
*
* @param[in] result The result of the requested operation.
* @param[in] handle The monitor handle
@@ -360,6 +364,8 @@ typedef void (*ua_presence_detected_cb)(
* @remarks The @a handle can be used only in the callback.
* @remarks The @a sensor_handle should not be released.
* @remarks The @a sensor_handle can be used only in the callback.
+ * @remarks The @a service_handle should not be released.
+ * @remarks The @a service_handle can be used only in the callback.
*
* @param[in] result The result of the requested operation.
* @param[in] handle The monitor handle with which absence detection start was invoked.
diff --git a/include/user-awareness.h b/include/user-awareness.h
index 659a57d..996fb0b 100755
--- a/include/user-awareness.h
+++ b/include/user-awareness.h
@@ -982,6 +982,11 @@ int ua_service_get_detection_threshold(
* @brief Sets name info for service handle.
* @since_tizen 6.5
*
+ * @remarks The @a user_handle should not be released.
+ * @remarks The @a user_handle is available until user is
+ * removed and released by application using #ua_user_remove()
+ * and ua_user_destroy()
+ *
* @param[in] service_handle The service handle
* @param[in] account The user account information
* @param[out] user_handle The user handle