com.nokia.mid.sound
Interface SoundListener


Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener interface.

public interface SoundListener

This interface is used by applications that need to receive events that indicate changes in the playback state of the Sound objects.

Since:
1.0
See Also:
Sound

Method Summary
 void soundStateChanged(Sound sound, int event)
          Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener.playerUpdate(javax.microedition.media.Player, String, Object).
 

Method Detail

soundStateChanged

public void soundStateChanged(Sound sound,
                              int event)
Deprecated. As of Nokia UI API 1.1 in devices with MIDP 2.0 or higher, replaced by javax.microedition.media.PlayerListener.playerUpdate(javax.microedition.media.Player, String, Object).

Called when the playback state of a sound has been changed.

Parameters:
sound - the sound object this event relates to
event - the state change event, SOUND_PLAYING, SOUND_STOPPED or SOUND_UNINITIALIZED
Since:
1.0
See Also:
Sound.setSoundListener(SoundListener listener), Sound.SOUND_PLAYING, Sound.SOUND_STOPPED, Sound.SOUND_UNINITIALIZED

forum.nokia.com/java

Copyright (c) 2002-2004 Nokia Corporation. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.