//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.common/UnitType
enum UnitType : Enum<UnitType>
EN Defines the supported physical measurement units for conversion into density-independent pixels (Dp) or screen pixels (Px).
PT Define as unidades de medida física suportadas para conversão em pixels independentes de densidade (Dp) ou pixels de tela (Px).
private constructor()
val entries: EnumEntries<UnitType>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
fun valueOf(value: String): UnitType
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.)
Returns an array containing the constants of this enum type, in the order they’re declared.
| Name | Summary |
|---|---|
| UnitType |
| Name | Summary |
|---|---|
| INCH | |
| CM | |
| MM | |
| SP | |
| DP | |
| PX |
| Name | Summary |
|---|---|
| entries |
| Name | Summary |
|---|---|
| valueOf | |
| values |