net.rim.device.api.system
Interface AlertListener2

All Superinterfaces:
AlertListener

public interface AlertListener2
extends AlertListener

Provides functionality for receiving alert events.

Use Application.addAlertListener(AlertListener) to receive notifications via this interface.

Since:
JDE 4.0.0

Field Summary
 
Fields inherited from interface net.rim.device.api.system.AlertListener
REASON_COMPLETED, REASON_KEY_PRESSED, REASON_STOP_CALLED
 
Method Summary
 void midiDone(int reason)
          Invoked when a MIDI alert ends.
 
Methods inherited from interface net.rim.device.api.system.AlertListener
audioDone, buzzerDone, vibrateDone
 

Method Detail

midiDone

public void midiDone(int reason)
Invoked when a MIDI alert ends.
Parameters:
reason - One of these values: AlertListener.REASON_COMPLETED, AlertListener.REASON_KEY_PRESSED, or AlertListener.REASON_STOP_CALLED.
Since:
JDE 4.0.0



Copyright 1999-2009 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.