//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.common/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)
EN Default Phone/Tablet.
EN Television.
EN Car.
EN Watch (Wear OS).
EN Desk Device (Docked).
EN Projection Device (e.g., Android Auto, Cast).
@RequiresApi(value = 26)VR_HEADSET
EN Virtual Reality (VR) Device.
EN Any unspecified/other UI mode.
EN Foldable Device (Open state). PT Dispositivo Dobrável tipo Fold (Estado aberto).
EN Foldable Device (Closed state). PT Dispositivo Dobrável tipo Fold (Estado fechado).
EN Flip Device (Open state). PT Dispositivo Dobrável tipo Flip (Estado aberto).
EN Flip Device (Closed state). PT Dispositivo Dobrável tipo Flip (Estado fechado).
EN Foldable Device (Half-opened state). PT Dispositivo Dobrável tipo Fold (Estado semiaberto).
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.
| Name | Summary |
|---|---|
| UiModeType |
| 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 |
| Name | Summary |
|---|---|
| Companion |
| Name | Summary |
|---|---|
| configValue | |
| entries |
| Name | Summary |
|---|---|
| valueOf | |
| values |