Jenga Snackbar Duration
How long a snackbar stays before it auto-dismisses.
Unlike Material, which forces an indefinite duration the moment an action label is present, so an "Undo" can sit on screen forever, Jenga defaults an action snackbar to Short as well. Opt into Indefinite explicitly when a message must persist until acted upon (and pair it with a dismiss affordance).
Properties
Functions
Link copied to clipboard
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.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.