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)

Since:

BlackBerry 10.0.0

Arguments:

event

The NAVIGATOR_ORIENTATION, NAVIGATOR_ORIENTATION_CHECK, NAVIGATOR_ORIENTATION_DONE, or NAVIGATOR_ORIENTATION_RESULT event to extract the orientation angle from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.