diff options
Diffstat (limited to 'include/user-awareness-util.h')
-rw-r--r-- | include/user-awareness-util.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/user-awareness-util.h b/include/user-awareness-util.h index 94e2336..de20517 100644 --- a/include/user-awareness-util.h +++ b/include/user-awareness-util.h @@ -146,6 +146,30 @@ const char* _ua_get_error_string(ua_error_code_e err); */ uam_tech_type_e _ua_to_uam_tech_type(ua_mac_type_e type); +/** + * @ingroup CAPI_NETWORK_UA_MODULE + * @internal + * @brief Converts device's tech. type enum to sensor bitmask enum. + * @since_tizen 5.5 + * + * @remarks The returned value can be used until return call function is valid. + * + * @param[in] type Tech code to be converted. + * + * @return Sensor bitmask + * + * @retval #UA_SENSOR_BT Bluetooth + * @retval #UA_SENSOR_BLE Bluetooth Low Energy + * @retval #UA_SENSOR_WIFI Wi-Fi + * @retval #UA_SENSOR_MAX Invalid + * + * @exception + * @pre + * @post + * + */ +ua_sensor_e _ua_dev_type_to_sensor(ua_mac_type_e type); + #ifdef __cplusplus } #endif |