diff options
Diffstat (limited to 'include/user-awareness-private.h')
-rw-r--r-- | include/user-awareness-private.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/user-awareness-private.h b/include/user-awareness-private.h index d1ccf18..7e6478e 100644 --- a/include/user-awareness-private.h +++ b/include/user-awareness-private.h @@ -189,6 +189,7 @@ typedef struct { ua_scan_completed_cb scan_device_cb; /**< Callback to let apps know scanned registered devices */ ua_presence_detected_cb presence_cb; /**< User presence detection callback */ ua_absence_detected_cb absence_cb; /**< Absence detection callback */ + ua_callback_s sensor_status_cb; /**< Senser status changed callback */ char *service; /**< Service name */ GSList *user_state; /**< User current state i.e presence or absence */ void *user_data; /**< User data */ @@ -200,6 +201,7 @@ typedef struct { * @since_tizen 5.5 */ typedef struct { + unsigned int status; /**< Sensor status 1:PRESENCE 2:ABSENCE */ ua_sensor_h handle; ua_sensor_e bitmask; long int timestamp; @@ -386,6 +388,18 @@ void _ua_monitor_handle_user_absence_detected( uam_sensor_info_s *sensor_info, char *service, char *account); /** + * @brief Calls the sensor status changed callback when notified of sensor status changed. + * @since_tizen 5.5 + * + * @param[in] info Sensor information + * + * @exception + * @pre + * @post + */ +void _ua_monitor_handle_sensor_status_changed(uam_sensor_info_s *info); + +/** * @brief Destroys a monitor handle. * @since_tizen 5.5 * |