From: Mu-Woong Lee Date: Fri, 12 Feb 2016 08:16:31 +0000 (+0900) Subject: Remove activity/gesture enums & update doxygen script X-Git-Tag: submit/tizen/20160216.061016^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0da046fd286e2c8318a91890f230b5f272fa310;p=platform%2Fcore%2Fapi%2Fsensor.git Remove activity/gesture enums & update doxygen script Change-Id: I652808ca263a7726eaacdb159ebc605f9334a830 Signed-off-by: Mu-Woong Lee --- diff --git a/doc/sensor_doc.h b/doc/sensor_doc.h index 9140390..81e6262 100644 --- a/doc/sensor_doc.h +++ b/doc/sensor_doc.h @@ -54,6 +54,8 @@ * - http://tizen.org/feature/sensor.magnetometer.uncalibrated\n * - http://tizen.org/feature/sensor.gyroscope_rotation_vector\n * - http://tizen.org/feature/sensor.geomagnetic_rotation_vector\n + * - http://tizen.org/feature/sensor.pedometer\n + * - http://tizen.org/feature/sensor.sleep_monitor\n * * It is recommended to design feature related codes in your application for reliability.\n * @@ -96,6 +98,8 @@ * - http://tizen.org/feature/sensor.magnetometer.uncalibrated\n * - http://tizen.org/feature/sensor.gyroscope_rotation_vector\n * - http://tizen.org/feature/sensor.geomagnetic_rotation_vector\n + * - http://tizen.org/feature/sensor.pedometer\n + * - http://tizen.org/feature/sensor.sleep_monitor\n * * It is recommended to design feature related codes in your application for reliability.\n * @@ -137,6 +141,8 @@ * - http://tizen.org/feature/sensor.magnetometer.uncalibrated\n * - http://tizen.org/feature/sensor.gyroscope_rotation_vector\n * - http://tizen.org/feature/sensor.geomagnetic_rotation_vector\n + * - http://tizen.org/feature/sensor.pedometer\n + * - http://tizen.org/feature/sensor.sleep_monitor\n * * It is recommended to design feature related codes in your application for reliability.\n * diff --git a/include/sensor.h b/include/sensor.h index a76c6c1..294432c 100644 --- a/include/sensor.h +++ b/include/sensor.h @@ -176,16 +176,16 @@ typedef enum SENSOR_TEMPERATURE, /**< Temperature sensor */ SENSOR_HUMIDITY, /**< Humidity sensor */ SENSOR_HRM, /**< Heart-rate monitor - @if MOBILE (Since 2.4) @endif @n + @if MOBILE (Since 2.3.1) @endif @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_HRM_LED_GREEN, /**< Green LED sensor of HRM - @if MOBILE (Since 2.4) @endif @n + @if MOBILE (Since 2.3.1) @endif @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_HRM_LED_IR, /**< Infra-Red LED sensor of HRM - @if MOBILE (Since 2.4) @endif @n + @if MOBILE (Since 2.3.1) @endif @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_HRM_LED_RED, /**< Red LED sensor of HRM - @if MOBILE (Since 2.4) @endif @n + @if MOBILE (Since 2.3.1) @endif @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_GYROSCOPE_UNCALIBRATED, /**< Uncalibrated Gyroscope sensor @if MOBILE (Since 2.4) @elseif WEARABLE (Since 2.3.2) @endif */ @@ -195,28 +195,12 @@ typedef enum @if MOBILE (Since 2.4) @elseif WEARABLE (Since 2.3.2) @endif */ SENSOR_GEOMAGNETIC_ROTATION_VECTOR, /**< Geomagnetic-based rotation vector sensor @if MOBILE (Since 2.4) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_ACTIVITY_STATIONARY = 0x100, /**< Activity sensor detecting that the device is not moving - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_ACTIVITY_WALK, /**< Activity sensor detecting that the device is on a user who is walking - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_ACTIVITY_RUN, /**< Activity sensor detecting that the device is on a user who is running - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_ACTIVITY_IN_VEHICLE, /**< Activity sensor detecting that the device is in a moving vehicle, like a car - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_ACTIVITY_ON_BICYCLE, /**< Activity sensor detecting that the device is on a bicycle - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_GESTURE_MOVEMENT = 0x200, /**< Gesture sensor detecting any significant movements - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_GESTURE_WRIST_UP, /**< Gesture sensor detecting wrist-up gestures - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ - SENSOR_GESTURE_WRIST_DOWN, /**< Gesture sensor detecting wrist-down gestures - @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif */ SENSOR_HUMAN_PEDOMETER = 0x300, /**< Pedometer @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif - @n Privilege : http://tizen.org/privilege/healthinfo */ + @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_HUMAN_SLEEP_MONITOR, /**< Sleep monitor (Since 3.0) @if MOBILE (Since 3.0) @elseif WEARABLE (Since 2.3.2) @endif - @n Privilege : http://tizen.org/privilege/healthinfo */ + @n Privilege : http://tizen.org/privilege/healthinfo */ SENSOR_LAST, /**< End of sensor enum values (Deprecated since 3.0) */ SENSOR_CUSTOM = 0x2710, /**< Custom sensor (Deprecated since 3.0) */ } sensor_type_e; @@ -240,13 +224,13 @@ typedef enum /** * @brief Enumeration for sensor listener behavior attributes * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif - * @see #sensor_axis_e - * @see #sensor_pause_e */ typedef enum { - SENSOR_ATTRIBUTE_AXIS_ORIENTATION = 1, /**< Reference orientation of sensor data to be reported */ - SENSOR_ATTRIBUTE_PAUSE_POLICY, /**< Pause-and-resume policy of sensors */ + SENSOR_ATTRIBUTE_AXIS_ORIENTATION = 1, /**< Reference orientation of sensor data to be reported.@n + See #sensor_axis_e for available attribute values. */ + SENSOR_ATTRIBUTE_PAUSE_POLICY, /**< Pause-and-resume policy of sensors.@n + See #sensor_pause_e for available attribute values. */ } sensor_attribute_e;