navigator_event_get_orientation_angle()
Get the orientation angle from a navigator event.
Synopsis:
#include <bps/navigator.h>
BPS_API int navigator_event_get_orientation_angle(bps_event_t *event)
Arguments:
- event
-
The NAVIGATOR_ORIENTATION, NAVIGATOR_ORIENTATION_CHECK, NAVIGATOR_ORIENTATION_DONE, or NAVIGATOR_ORIENTATION_RESULT event to extract the orientation angle from.
Library:
libbpsDescription:
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.
Returns:
The orientation angle from the event.