BottomDrawerValue
-
Cmn
enum BottomDrawerValue : Enum
Possible values of BottomDrawerState.
Summary
Enum Values |
|
|---|---|
Closed |
The state of the bottom drawer when it is closed. |
Expanded |
The state of the bottom drawer when it is expanded (i.e. at 100% height). |
Open |
The state of the bottom drawer when it is open (i.e. at 50% height). |
Public functions |
||
|---|---|---|
BottomDrawerValue |
Returns the enum constant of this type with the specified name. |
Cmn
|
Array<BottomDrawerValue> |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Cmn
|
Public properties |
||
|---|---|---|
EnumEntries<BottomDrawerValue> |
Returns a representation of an immutable list of all enum entries, in the order they're declared. |
Cmn
|
Enum Values
Closed
val BottomDrawerValue.Closed: BottomDrawerValue
The state of the bottom drawer when it is closed.
Expanded
val BottomDrawerValue.Expanded: BottomDrawerValue
The state of the bottom drawer when it is expanded (i.e. at 100% height).
Open
val BottomDrawerValue.Open: BottomDrawerValue
The state of the bottom drawer when it is open (i.e. at 50% height).
Public functions
valueOf
fun valueOf(value: String): BottomDrawerValue
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.)
| Throws | |
|---|---|
kotlin.IllegalArgumentException |
if this enum type has no constant with the specified name |
values
fun values(): Array<BottomDrawerValue>
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
Public properties
entries
val entries: EnumEntries<BottomDrawerValue>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.