* @pre
* @post
*
- * @see ua_registered_dev_cb()
+ * @see ua_registered_device_cb()
*/
int ua_foreach_devices(
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data);
/**
* @pre
* @post
*
- * @see ua_registered_dev_cb()
+ * @see ua_registered_device_cb()
*/
int ua_device_foreach_added_by_user(
ua_user_h user_handle,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data) TIZEN_DEPRECATED_API;
/**
* @pre
* @post
*
- * @see ua_registered_dev_cb()
+ * @see ua_registered_device_cb()
* @see ua_device_destroy()
*/
int ua_device_clone(
*/
int _ua_foreach_devices_by_user(
ua_user_h user_handle,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data);
/**
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Enumeration for sensor status.
+ * @brief Enumeration for sensor status report.
* @since_tizen 6.5
*/
typedef enum {
* @param[in] monitor The monitor handle for which sensor type was added.
* @param[in] sensor 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] report The status report of sensor detected.
* @param[in] user_data The user data passed in ua_monitor_set_sensor_status_cb().
*
*/
ua_monitor_h monitor,
ua_sensor_h sensor,
ua_sensor_type_e sensor_type,
- ua_sensor_report_e status,
+ ua_sensor_report_e report,
void *user_data);
/**
* @param[in] sensor_type Sensor type which is present in UA monitor.
* @param[in] user_data User data passed in ua_monitor_foreach_sensor().
*
- * @return True to continue with the next iteration of the loop
+ * @return @c true to continue with the next iteration of the loop, @c false to break out of the loop
* and False to break out of the loop
*
* @see ua_monitor_foreach_sensor()
* @param[in] device The device handle.
* @param[in] user_data User data passed in ua_user_foreach_devices().
*
- * @return True to continue with the next iteration of the loop
- * and False to break out of the loop
+ * @return @c true to continue with the next iteration of the loop, @c false to break out of the loop
*
* @see ua_user_foreach_devices()
*/
-typedef bool (*ua_registered_dev_cb)(
+typedef bool (*ua_registered_device_cb)(
ua_device_h device,
void *user_data);
* @param[in] service The service handle.
* @param[in] user_data User data passed in ua_foreach_service().
*
- * @return True to continue with the next iteration of the loop
- * and False to break out of the loop
+ * @return @c true to continue with the next iteration of the loop, @c false to break out of the loop
*
* @see ua_foreach_service()
*/
* @param[in] user The user handle.
* @param[in] user_data User data passed in ua_service_foreach_users().
*
- * @return True to continue with the next iteration of the loop
- * and False to break out of the loop
+ * @return @c true to continue with the next iteration of the loop, @c false to break out of the loop
*
* @see ua_service_foreach_users()
*/
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
* @retval #UA_ERROR_PERMISSION_DENIED Permission Denied
- * @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter or sensor not available to remove
* @retval #UA_ERROR_NOT_PERMITTED Operation not permitted
* @retval #UA_ERROR_ALREADY_DONE Already done
* @retval #UA_ERROR_NOT_READY Resource not ready
* @retval #UA_ERROR_OUT_OF_MEMORY Out of memory
* @retval #UA_ERROR_NOT_INITIALIZED Not initialized yet
*
- * @see ua_registered_dev_cb()
+ * @see ua_registered_device_cb()
*/
int ua_user_foreach_devices(
ua_user_h user,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data);
/**
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Gets sensor's status.
+ * @brief Gets sensor's status report.
* @since_tizen 6.5
*
* @param[in] sensor The sensor handle
- * @param[out] status The sensor's status.
+ * @param[out] report The sensor's status report.
*
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
*/
int ua_sensor_get_status(
ua_sensor_h sensor,
- ua_sensor_report_e *status);
+ ua_sensor_report_e *report);
/**
* @ingroup CAPI_NETWORK_UA_MODULE
int _ua_foreach_devices_by_user(
ua_user_h user_handle,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data)
{
FUNC_ENTRY;
}
int ua_foreach_devices(
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data)
{
FUNC_ENTRY;
int ua_device_foreach_added_by_user(
ua_user_h user_handle,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data)
{
FUNC_ENTRY;
int ua_user_foreach_devices(
ua_user_h user_handle,
- ua_registered_dev_cb foreach_cb,
+ ua_registered_device_cb foreach_cb,
void *user_data)
{
FUNC_ENTRY;