{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
enum DeviceController.ScreenOrientation
Enum for screen orientations a device can be set to.
LANDSCAPE
PORTRAIT
ScreenOrientation()
val DeviceController.ScreenOrientation.LANDSCAPE: DeviceController.ScreenOrientation
val DeviceController.ScreenOrientation.PORTRAIT: DeviceController.ScreenOrientation