* @brief Enumeration for errors.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
-typedef enum
-{
+typedef enum {
SENSOR_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
SENSOR_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */
SENSOR_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
* nearby objects in front of the sensor as one of the followings.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
-typedef enum
-{
+typedef enum {
SENSOR_PROXIMITY_NEAR = 0, /**< An object is placed near the proximity sensor */
SENSOR_PROXIMITY_FAR = 5, /**< No object is placed near the proximity sensor */
} sensor_proximity_e;
* pedestrian state as one of the followings.
* @since_tizen 3.0
*/
-typedef enum
-{
+typedef enum {
SENSOR_PEDOMETER_STATE_UNKNOWN = -1, /**< Uncertain */
SENSOR_PEDOMETER_STATE_STOP, /**< The user is not moving */
SENSOR_PEDOMETER_STATE_WALK, /**< The user is walking */
* sleep state as one of the followings.
* @since_tizen 3.0
*/
-typedef enum
-{
+typedef enum {
SENSOR_SLEEP_STATE_UNKNOWN = -1, /**< Uncertain */
SENSOR_SLEEP_STATE_WAKE, /**< The user is awake */
SENSOR_SLEEP_STATE_SLEEP, /**< The user is asleep */