|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlertListener
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. |
|
static int |
REASON_TRACKBALL_ROLLED
The alert is cancelled by the user rolling the trackball. |
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 |
---|
static final int REASON_COMPLETED
static final int REASON_KEY_PRESSED
static final int REASON_STOP_CALLED
Alert.stop
methods.
static final int REASON_TRACKBALL_ROLLED
Method Detail |
---|
void audioDone(int reason)
reason
- Reason; one of
AlertListener.REASON_COMPLETED
,
AlertListener.REASON_KEY_PRESSED
,
AlertListener.REASON_STOP_CALLED
.void buzzerDone(int reason)
reason
- Reason; one of
AlertListener.REASON_COMPLETED
,
AlertListener.REASON_KEY_PRESSED
,
AlertListener.REASON_STOP_CALLED
.void vibrateDone(int reason)
reason
- Reason; one of
AlertListener.REASON_COMPLETED
,
AlertListener.REASON_KEY_PRESSED
,
AlertListener.REASON_STOP_CALLED
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.