*
* @remarks The @a service handle is managed by the platform and will be released
* when #ua_deinitialize() is called.
- *
* @param[out] service The service handle
*
* @return 0 on success, otherwise a negative error value
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Gets service handle by service name.
+ * @brief Gets service handle by service name for added service.
* @since_tizen 6.5
*
* @remarks The @a service handle should be destroyed by using #ua_service_destroy().
*
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
- * @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter or if service with such name does not exist.
* @retval #UA_ERROR_OPERATION_FAILED Operation failed
* @retval #UA_ERROR_NOT_INITIALIZED Not initialized yet
*
/**
* @ingroup CAPI_NETWORK_UA_MODULE
* @brief Adds sensors to UA monitor for which monitoring is to be done.
+ * Availability of sensors to be added can be checked using #ua_monitor_is_sensor_available()
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
* @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 add
* @retval #UA_ERROR_NOT_PERMITTED Operation not permitted
* @retval #UA_ERROR_ALREADY_DONE Already done
* @retval #UA_ERROR_NOT_READY Resource not ready
* @since_tizen 6.5
*
* @remarks Sensor status change will be reported only for environmental
- * sensors (ie. the sensors for which user/device information is not available)
+ * sensors (ie. the sensors for which user/device information is not available,
+ * For example. Light and Motion Sensors)
*
* @param[in] monitor The monitor handle
* @param[in] callback Sensor status changed callback
*
* @remarks The @a user handle should be destroyed by using #ua_user_destroy().
*
- * @param[in] account Account information
+ * @param[in] account Account information. Maximum Account string
+ * length allowed is 254.
* @param[out] user The user handle
*
* @return 0 on success, otherwise a negative error value
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Adds the user.
+ * @brief Adds the user. Added user is stored in the database
+ * and is also available after the application restarts.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
* @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #UA_ERROR_OPERATION_FAILED Operation failed
* @retval #UA_ERROR_NOT_INITIALIZED Not initialized yet
+ * @retval #UA_ERROR_ALREADY_REGISTERED Already Registered
*
* @see ua_user_remove()
*/
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Adds device for a user.
+ * @brief Adds device for a user. This information is stored in database
+ * and is also available after the application restarts.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
*
- * @remarks Service context will removed and all allocated memory (if any) will be released.
+ * @remarks Service context will be removed and all allocated memory (if any) will be released.
*
* @param[in] service The service handle
*
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Adds the service.
+ * @brief Adds the service. Added service is stored in database
+ * and is also available after the application restarts.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Updates the service.
+ * @brief Updates the properties for the added service.
+ * To update a property of a service its respective setter functions
+ * should be called and then followed by the call of ua_service_update().
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
/**
* @ingroup CAPI_NETWORK_UA_MODULE
* @brief Sets detection threshold for service handle.
+ * If the service has already been added, this call should be followed by
+ * the call of ua_service_update() to reflect the modifications.
* @since_tizen 6.5
*
* @param[in] service The service handle
- * @param[in] presence_threshold The service presence threshold information
- * @param[in] absence_threshold The service absence threshold information
+ * @param[in] presence_threshold The service presence threshold information (in lux)
+ * @param[in] absence_threshold The service absence threshold information (in lux)
*
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
* @privilege %http://tizen.org/privilege/userawareness
*
* @param[in] service The service handle
- * @param[out] presence_threshold The service presence threshold information
- * @param[out] absence_threshold The service absence threshold information
+ * @param[out] presence_threshold The service presence threshold information (in lux)
+ * @param[out] absence_threshold The service absence threshold information (in lux)
*
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Retrieves the user handle of all the added users for a specific service.
+ * @brief Triggers callback for every user of a specific service.
* @since_tizen 6.5
*
* @param[in] service The service handle.
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
*
- * @remarks The @a device handle should be destroyed by using #ua_user_destroy().
+ * @remarks The @a device handle should be destroyed using #ua_user_destroy().
*
* @param[in] mac_type The MAC address type of the device
* @param[in] mac_address The device's MAC address.
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
*
- * @remarks Device context will removed and all allocated memory (if any) will be released.
+ * @remarks Device context will be removed and all allocated memory (if any) will be released.
*
* @param[in] device The device handle
*
/**
* @ingroup CAPI_NETWORK_UA_MODULE
* @brief Sets device's operating system info.
+ * If the device has already been added, this call should be followed by
+ * the call of ua_device_update() to reflect the modifications.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Gets device ID.
+ * @brief Gets device ID of device, which was set while creating the device handle.
* @since_tizen 6.5
*
* @remarks You must release @a device_id using g_free().
/**
* @ingroup CAPI_NETWORK_UA_MODULE
* @brief Sets device's Wi-Fi BSSID.
+ * If the device has already been added, this call should be followed by
+ * the call of ua_device_update() to reflect the modifications.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
/**
* @ingroup CAPI_NETWORK_UA_MODULE
* @brief Sets device's Wi-Fi IPv4 address.
+ * If the device has already been added, this call should be followed by
+ * the call of ua_device_update() to reflect the modifications.
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
* @since_tizen 6.5
*
* @param[in] device The device handle
- * @param[out] last_seen The last presence time for UA device
+ * @param[out] last_seen The last presence monotonic timestamp for UA device (in msec)
*
* @return 0 on success, otherwise a negative error value
* @retval #UA_ERROR_NONE Successful
/**
* @ingroup CAPI_NETWORK_UA_MODULE
- * @brief Updates the device.
+ * @brief Updates the properties for the added device.
+ * To update a property of a device its respective setter functions
+ * should be called and then followed by the call of ua_device_update().
* @since_tizen 6.5
* @privlevel public
* @privilege %http://tizen.org/privilege/userawareness
* @since_tizen 6.5
*
* @remarks The @a device handle should not be released.
- * @remarks The @a device handle can be used only in the function.
+ * @remarks The @a device handle is available until device is
+ * removed and released by application using #ua_user_remove_device()
+ * and #ua_device_destroy()
*
* @param[in] mac The device's MAC address
* @param[out] device The device handle
* @since_tizen 6.5
*
* @remarks The @a device handle should not be released.
- * @remarks The @a device handle can be used only in the function.
+ * @remarks The @a device handle is available until device is
+ * removed and released by application using #ua_user_remove_device()
+ * and #ua_device_destroy()
*
* @param[in] device_id The device ID
* @param[in] mac_type The device's MAC type