Enumerations | |
| enum | Orientation { LANDSCAPE, PORTRAIT, AUTO, LANDSCAPE_RIGHT, LANDSCAPE_LEFT, PORTRAIT_UPRIGHT, AUTO_UPRIGHT } |
| enum | StatusBar { STATUSBAR_VISIBLE, STATUSBAR_HIDDEN } |
| enum | NavigationBar { NAVIGATIONBAR_VISIBLE, NAVIGATIONBAR_HIDDEN } |
Functions | |
| bool | IsLandscape (YIViewProperty::Orientation eOrientation) |
| bool | IsPortrait (YIViewProperty::Orientation eOrientation) |
| bool | IsAuto (YIViewProperty::Orientation eOrientation) |
| Enumerator | |
|---|---|
| LANDSCAPE |
Force device to landscape mode. App can rotate between landscape orientations. |
| PORTRAIT |
Force device to portrait mode. App can rotate between portrait orientations. |
| AUTO |
App can rotate between all available orientations. Where capable, this setting will respect user orientation preferences. Due to differences in the underlying platform APIs, this setting behaves slightly differently on iOS vs Android. |
| LANDSCAPE_RIGHT |
Force device to landscape right. App cannot rotate. |
| LANDSCAPE_LEFT |
Force device to landscape left. App cannot rotate. |
| PORTRAIT_UPRIGHT |
Force device to portrait upright. App cannot rotate. |
| AUTO_UPRIGHT |
App can rotate between available orientations, but not upside-down. Due to differences in the underlying platform APIs, this setting behaves slightly differently on iOS vs Android. |
|
inline |
returns true if eOrientation is an auto type.
|
inline |
returns true if eOrientation is a landscape type.
|
inline |
returns true if eOrientation is a portrait type.