SupportedDisplayOrientation
#include <bb/cascades/SupportedDisplayOrientation>
Represents display orientations supported by the application.
BlackBerry 10.0.0
Public Types Index
enum TypeCurrentLocked = 0, All = 1, DisplayLandscape = 2, DisplayPortrait = 3, DeviceNorth = 4 |
Public Types
Enum representing display orientations supported by the application.
BlackBerry 10.0.0
- CurrentLocked = 0
UI orientation changes are disabled; device orientation changes will not result in UI orientation changes.
Since:BlackBerry 10.0.0
- All = 1
Application supports all display orientations; all device orientation changes will result in corresponding UI orientation change.
Since:BlackBerry 10.0.0
- DisplayLandscape = 2
Application only supports landscape display orientation; landscape device orientation changes will result in UI orientation change to UIOrientation::Landscape.
Since:BlackBerry 10.0.0
- DisplayPortrait = 3
Application only supports portrait display orientation; portrait device orientation changes will result in UI orientation change to UIOrientation::Portrait.
Since:BlackBerry 10.0.0
- DeviceNorth = 4
Application only supports the device's "native" display orientation, with BlackBerry logo pointing up; device orientation changes will not result in UI orientation changes.
Since:BlackBerry 10.0.0