Set the orientation in the navigator based on angle.
#include <bps/navigator.h>
BPS_API int navigator_set_orientation(int angle,
char **id)
BlackBerry 10.0.0
The angle of the orientation to set: NAVIGATOR_TOP_UP, NAVIGATOR_RIGHT_UP, NAVIGATOR_LEFT_UP, NAVIGATOR_BOTTOM_UP.
If not null, the ID used in the orientation request will be returned in id. The caller must free this buffer using bps_free().
The navigator_set_orientation() function sends a navigator orientation request to set the orientation in the navigator.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.