The AlertType class extends the Object class. It provides information about the types of alerts. It has the following predefined constants:
- WARNING: It alerts a user about the consequences of performing a dangerous operation. For example, “Performing this action will remove data from the storage.”
- ERROR: It alerts a user about an error prone operation. For example, “This action will not save your data.”, etc.
- INFO: It defines non-fatal information to the user.
- ALARM: It specifies a message for which a user has asked to be notified. For example, “You have to make a call to your boss.”, etc.
- CONFIRMATION: It specifies a confirmation to a user about the completion of a task. For example, “Data is saved” or “removed”, etc.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.