orientation_direction_t

Possible orientation directions.

Synopsis:

#include <bps/orientation.h>
 
typedef enum {
      ORIENTATION_FACE_UP = 0   
      ORIENTATION_TOP_UP = 1   
      ORIENTATION_BOTTOM_UP = 2   
      ORIENTATION_LEFT_UP = 3   
      ORIENTATION_RIGHT_UP = 4   
      ORIENTATION_FACE_DOWN = 5   
} orientation_direction_t;

Data:

ORIENTATION_FACE_UP
ORIENTATION_TOP_UP
ORIENTATION_BOTTOM_UP
ORIENTATION_LEFT_UP
ORIENTATION_RIGHT_UP
ORIENTATION_FACE_DOWN

Library:

libbps

Description:

This enumeration defines the possible directions that the device is being held in.