com.neomades.app.Orientation |
![]() |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | AUTO | This is the default value, so that the current orientation is based on the device orientation settings. | |||||||||
int | LANDSCAPE | Landscape orientation | |||||||||
int | PORTRAIT | Portrait orientation | |||||||||
int | PORTRAIT_OR_LANDSCAPE | Portrait or landscape orientation (this is equivalent to PORTRAIT | LANDSCAPE) |
This is the default value, so that the current orientation is based on the device orientation settings. For example, if the user has blocked the device in landscape mode, then the application will be blocked the same way.
Landscape orientation
Portrait orientation
Portrait or landscape orientation (this is equivalent to PORTRAIT | LANDSCAPE)