Style

The style of an action. This determines the look of the button when displayed in the alert.

Entries

Link copied to clipboard

Default button. Synonymous with POSITIVE

Link copied to clipboard

Positive button. Synonymous with DEFAULT

Link copied to clipboard

Destructive button. Synonymous with NEUTRAL

Link copied to clipboard

Neutral button. Synonymous with DESTRUCTIVE

Link copied to clipboard

Cancel button. Synonymous with NEGATIVE

Link copied to clipboard

Negative button. Synonymous with CANCEL

Properties

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

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.