Get the orientation mode from a navigator event.
#include <bps/navigator.h>
BPS_API int navigator_event_get_orientation_mode(bps_event_t *event)
BlackBerry 10.0.0
The NAVIGATOR_ORIENTATION, or NAVIGATOR_ORIENTATION_CHECK event.
The navigator_event_get_orientation_mode() functions extracts the orientation mode from a NAVIGATOR_ORIENTATION, or NAVIGATOR_ORIENTATION_CHECK event. The result is one of NAVIGATOR_LANDSCAPE or NAVIGATOR_PORTRAIT.
NAVIGATOR_LANDSCAPE, or NAVIGATOR_PORTRAIT