Specify whether your application intends to rotate.
#include <bps/navigator.h>
BPS_API int navigator_orientation_check_response_id(const char *id,
bool will_rotate)
BlackBerry 10.0.0
The ID, as retrieved from the NAVIGATOR_ORIENTATION_CHECK event using navigator_event_get_id().
If true your application intends to rotate, if false your application does not intend to rotate.
The navigator_orientation_check_response_id() function specifies to the navigator whether or not your application intends to rotate. If you respond with true (that your application intends to rotate) then the navigator will send you a follow-up NAVIGATOR_ORIENTATION event when it is time for your application to resize its screen.
This function provides an alternative to the navigator_orientation_check_response() function, which requires the NAVIGATOR_ORIENTATION_CHECK event to be passed in. In the case where the NAVIGATOR_ORIENTATION_CHECK event will no longer be available to be passed in, the id can be retrieved from it, stored, and used in this function.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.