What is the AlertType class?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the AlertType class?
Rating:
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.
Rating:
Was this information helpful?
Other articles
- What is the registerConnection() method?
- What is the getHeight() method?
- What is the openRecordStore() method?
- What is the destroyApp() method?
- What is the getConstraints() method?