Possible orientation directions.
#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;
BlackBerry 10.0.0
This enumeration defines the possible directions that the device is being held in.