summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAbhay Agarwal <ay.agarwal@samsung.com>2019-09-30 19:34:39 +0900
committersaerome.kim <saerome.kim@samsung.com>2019-10-04 20:06:39 +0900
commit3973ca485b568dbcacec4141824687d51837b128 (patch)
tree62367ce4c020c6f724098d8de16569642cb06b49 /include
parent01fa75da97a96bc8783b027f4a5b056119ca8060 (diff)
downloaduser-awareness-3973ca485b568dbcacec4141824687d51837b128.tar.gz
user-awareness-3973ca485b568dbcacec4141824687d51837b128.tar.bz2
user-awareness-3973ca485b568dbcacec4141824687d51837b128.zip
service specific device discriminant
Change-Id: Idff3ea4d729aa408c51152dee5bfd49c4bf3bf98 Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/user-awareness.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/user-awareness.h b/include/user-awareness.h
index 638b3b8..6070c88 100644
--- a/include/user-awareness.h
+++ b/include/user-awareness.h
@@ -1813,6 +1813,31 @@ int ua_service_remove_device(
/**
* @ingroup CAPI_NETWORK_UA_MODULE
+ * @brief Sets device discriminant for a specific service.
+ * @since_tizen 5.5
+ *
+ * @param[in] service_handle The service handle.
+ * @param[in] device_handle The device handle.
+ * @param[in] discriminant The device discriminant.
+ *
+ * @return 0 on success, otherwise a negative error value
+ * @retval #UA_ERROR_NONE Successful
+ * @retval #UA_ERROR_INVALID_PARAMETER Invalid parameter
+ *
+ * @exception
+ * @pre
+ * @post
+ *
+ * @see ua_service_add_device()
+ * @see ua_service_remove_device()
+ */
+int ua_service_set_device_discriminant(
+ ua_service_h service_handle,
+ ua_device_h device_handle,
+ gboolean discriminant);
+
+/**
+ * @ingroup CAPI_NETWORK_UA_MODULE
* @brief Retrieves the service handle of all the added services.
* @since_tizen 5.5
*