DialogType

enum DialogType : Enum<DialogType>

Enum for all available alert types.

Entries

Link copied to clipboard

The NONE alert type has the effect of not setting any default properties in the Alert besides an ButtonType.OK button for the user to click on to dismiss the dialog.

Link copied to clipboard

The INFORMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is informing the user of a piece of information. This includes an 'information' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.

Link copied to clipboard

The WARNING alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is warning the user about some fact or action. This includes a 'warning' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.

Link copied to clipboard

The CONFIRMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is seeking confirmation from the user. This includes a 'confirmation' image, an appropriate title and header, and both ButtonType.YES and ButtonType.NO buttons for the user to click on to dismiss the dialog.

Link copied to clipboard

The ERROR alert type configures the Alert dialog to appear in a way that suggests that something has gone wrong. This includes an 'error' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.

Link copied to clipboard

The EXCEPTION alert type configures the Alert dialog to show an exception stack trace. This includes an 'exception' image, an appropriate title and header, and just a ButtonType.OK button for the user to click on to dismiss the dialog.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int