navigator_rotation_lock()

Specify the orientation of your application as locked or not locked.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_rotation_lock(bool locked)

Since:

BlackBerry 10.0.0

Arguments:

locked

If true the orientation of your application is locked, if false the orientation of your application is not locked.

Library:

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

Description:

The navigator_rotation_lock() function specifies to the navigator whether your application's orientation is locked or not locked.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.