DisplayDirection

Since: BlackBerry 10.0.0

#include <bb/cascades/DisplayDirection>

Represents the display direction of the device's screen plane.

The direction value is the angle between device's natural orientation (with the BlackBerry logo pointing up) and the display's current physical direction (in counter clockwise direction). The natural orientation of the device is DisplayDirection::North (0 degrees).


Overview

Public Types Index

enum Type

North = 0, East = 90, South = 180, West = 270

Public Types

Type

The display directions.

Since:

BlackBerry 10.0.0

North = 0

The BlackBerry logo is upright.

East = 90

The BlackBerry logo is sideways - the text runs upwards and the display is rotated 90 degrees to the left.

Since:

BlackBerry 10.0.0

South = 180

The BlackBerry logo is upside down - the display is rotated upside down.

Since:

BlackBerry 10.0.0

West = 270

The BlackBerry logo is sideways - the text runs downwards, and the display is rotated 270 degrees to the left.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



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

comments powered by Disqus