Get the orientation angle from a navigator event.
#include <bps/navigator.h>
BPS_API int navigator_event_get_orientation_angle(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_ORIENTATION, NAVIGATOR_ORIENTATION_CHECK, NAVIGATOR_ORIENTATION_DONE, or NAVIGATOR_ORIENTATION_RESULT event to extract the orientation angle from.
The navigator_event_get_orientation_angle() function extracts the orientation angle from a NAVIGATOR_ORIENTATION, NAVIGATOR_ORIENTATION_CHECK, NAVIGATOR_ORIENTATION_DONE, or NAVIGATOR_ORIENTATION_RESULT event.
The orientation angle from the event.