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:
BlackBerry API 4.0.0

Field Summary
 
Fields inherited from interface net.rim.device.api.system.AlertListener
REASON_COMPLETED, REASON_KEY_PRESSED, REASON_STOP_CALLED, REASON_TRACKBALL_ROLLED
 
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

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:
BlackBerry API 4.0.0





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