appdimens-dynamic

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

UiModeType

enum UiModeType(val configValue: Int) : Enum<UiModeType>

EN Defines the Android UI Mode Types for dimension customization, based on Configuration.uiMode.

PT Define os tipos de modo de interface do usuário (UI Mode Type) do Android para customização de dimensões, com base em Configuration.uiMode.

private constructor(configValue: Int)

NORMAL

EN Default Phone/Tablet.

TELEVISION

EN Television.

CAR

EN Car.

WATCH

EN Watch (Wear OS).

DESK

EN Desk Device (Docked).

APPLIANCE

EN Projection Device (e.g., Android Auto, Cast).

@RequiresApi(value = 26)VR_HEADSET

EN Virtual Reality (VR) Device.

UNDEFINED

EN Any unspecified/other UI mode.

FOLD_OPEN

EN Foldable Device (Open state). PT Dispositivo Dobrável tipo Fold (Estado aberto).

FOLD_CLOSED

EN Foldable Device (Closed state). PT Dispositivo Dobrável tipo Fold (Estado fechado).

FLIP_OPEN

EN Flip Device (Open state). PT Dispositivo Dobrável tipo Flip (Estado aberto).

FLIP_CLOSED

EN Flip Device (Closed state). PT Dispositivo Dobrável tipo Flip (Estado fechado).

FOLD_HALF_OPENED

EN Foldable Device (Half-opened state). PT Dispositivo Dobrável tipo Fold (Estado semiaberto).

FLIP_HALF_OPENED

EN Flip Device (Half-opened state). PT Dispositivo Dobrável tipo Flip (Estado semiaberto).

object Companion

val configValue: Int

val entries: EnumEntries<UiModeType>

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

fun valueOf(value: String): UiModeType

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<UiModeType>

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

Constructors

Name Summary
UiModeType  

Entries

Name Summary
NORMAL  
TELEVISION  
CAR  
WATCH  
DESK  
APPLIANCE  
VR_HEADSET  
UNDEFINED  
FOLD_OPEN  
FOLD_CLOSED  
FLIP_OPEN  
FLIP_CLOSED  
FOLD_HALF_OPENED  
FLIP_HALF_OPENED  

Types

Name Summary
Companion  

Properties

Name Summary
configValue  
entries  

Functions

Name Summary
valueOf  
values