Navigator screen orientation

Screen orientation modes.

Synopsis:

#include <bps/navigator.h>
 
enum {
      NAVIGATOR_LANDSCAPE = 0   
      NAVIGATOR_PORTRAIT = 1   
};

Since:

BlackBerry 10.0.0

Data:

NAVIGATOR_LANDSCAPE
Indicates that the screen is in landscape mode (the longer sides of the device are positioned at the bottom and top while the shorter sides are on the sides).
NAVIGATOR_PORTRAIT
Indicates that the screen is in portrait mode.

(the shorter sides of the device are positioned at the bottom and top while the longer sides are on the sides).

Library:

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

Description:

This enumeration defines the different orientation modes that the screen of the device can be in.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus