DisplayAspectType

Since: BlackBerry 10.0.0

#include <bb/device/DisplayAspectType>

To link against this class, add the following line to your .pro file: LIBS += -lbbdevice

The aspect of the display describes the shape of the rectangular region that defines the display area.


Overview

Public Types Index

enum Type

Landscape = 0, Portrait = 1, Square = 2

Public Types

Type

The aspect of the display describes the shape of the rectangular region that defines the display area.

Since:

BlackBerry 10.0.0

Landscape = 0

Display width greater than display height.

Portrait = 1

Display width less than display height.

Since:

BlackBerry 10.0.0

Square = 2

Display width equal to display height.

Since:

BlackBerry 10.0.0

Last modified: 2014-05-14



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

comments powered by Disqus