{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DeviceController.ScreenOrientation

enum DeviceController.ScreenOrientation


Enum for screen orientations a device can be set to.

Summary

Enum Values

LANDSCAPE
PORTRAIT

Public constructors

Enum Values

LANDSCAPE

val DeviceController.ScreenOrientation.LANDSCAPEDeviceController.ScreenOrientation

PORTRAIT

val DeviceController.ScreenOrientation.PORTRAITDeviceController.ScreenOrientation

Public constructors

ScreenOrientation

ScreenOrientation()