Returns the direction the device is facing.
#include <bps/sensor.h>
BPS_API int sensor_event_get_orientation_face(bps_event_t *event)
BlackBerry 10.0.0
The SENSOR_ORIENTATION_READING event.
Retrieves the sensor_orientation_t that the device is currently facing from a SENSOR_ORIENTATION_READING event.
The direction the device is facing, -1 with the errno value set otherwise.