Orientation

April 11, 2026 · View on GitHub

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.common/Orientation

Orientation

enum Orientation : Enum<Orientation>

EN Defines the screen orientation types of the device.

PT Define os tipos de orientação de tela do dispositivo.

private constructor()

PORTRAIT

LANDSCAPE

DEFAULT

val entries: EnumEntries<Orientation>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

fun valueOf(value: String): Orientation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

fun values(): Array<Orientation>

Returns an array containing the constants of this enum type, in the order they're declared.

Constructors

NameSummary
Orientation

Entries

NameSummary
PORTRAIT
LANDSCAPE
DEFAULT

Properties

NameSummary
entries

Functions

NameSummary
valueOf
values