Get the curent direction that the device is being held in.
#include <bps/orientation.h>
BPS_API orientation_direction_t orientation_event_get_direction(bps_event_t *event)
BlackBerry 10.0.0
The event to get the direction from.
The orientation_event_get_direction() function gets the current direction that the device is being held in from an ORIENTATION_INFO event.
The current direction.