|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Provides functionality for receiving alert events.
Use Application.addAlertListener(AlertListener) to receive notifications
via this interface.
| Field Summary | ||
static int |
REASON_COMPLETED
The alert is completed normally. |
|
static int |
REASON_KEY_PRESSED
The alert is cancelled by the user pressing a key. |
|
static int |
REASON_STOP_CALLED
The alert is cancelled via a call to one of the Alert.stop methods. |
|
| Method Summary | ||
void |
audioDone(int reason)
Invoked when an audio alert ends. |
|
void |
buzzerDone(int reason)
Invoked when a buzzer alert ends. |
|
void |
vibrateDone(int reason)
Invoked when a vibrate alert ends. |
|
| Field Detail |
public static final int REASON_COMPLETED
public static final int REASON_KEY_PRESSED
public static final int REASON_STOP_CALLED
Alert.stop methods.| Method Detail |
public void audioDone(int reason)
reason - Reason; one of
REASON_COMPLETED,
REASON_KEY_PRESSED,
REASON_STOP_CALLED.public void buzzerDone(int reason)
reason - Reason; one of
REASON_COMPLETED,
REASON_KEY_PRESSED,
REASON_STOP_CALLED.public void vibrateDone(int reason)
reason - Reason; one of
REASON_COMPLETED,
REASON_KEY_PRESSED,
REASON_STOP_CALLED.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.