javax.microedition.lcdui
Class AlertType

The AlertType provides an indication of the nature of alerts.
Alerts are used by an application to present various kinds of
information to the user.
An AlertType may be used to directly signal the user without changing
the current Displayable.
The playSound method can be used to spontaneously
generate a sound to alert the user. For example, a game using a
Canvas can use playSound to indicate success or progress.
The predefined types are INFO, WARNING,
ERROR, ALARM, and CONFIRMATION.

AlertType

playSound

Alert the user by playing the sound for this AlertType.
The AlertType instance is used as a hint by the device
to generate an appropriate sound. Instances other than
those predefined above may be ignored.
The actual sound made by the device,
if any, is determined by the device. The device may
ignore the request, use the same sound for
several AlertTypes or use any other means suitable to alert
the user.

Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.Java is a trademark of Oracle America Inc. in the US and other countries.Legal